CSS named colour
Teal
#008080
A CSS named colour: teal is valid anywhere a colour is expected.
- RGB
- rgb(0 128 128)
- HSL
- 180°, 100%, 25%
- OKLCh
- 54.3% 0.093 194.8
Teal in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #008080 | |
|---|---|---|
| RGB | rgb(0 128 128) | |
| RGB legacy | rgb(0, 128, 128) | |
| RGB percent | rgb(0% 50.2% 50.2%) | |
| HSL | hsl(180 100% 25.1%) | |
| HSL legacy | hsl(180, 100%, 25.1%) | |
| HSV / HSB | hsv(180, 100%, 50.2%) | |
| HWB | hwb(180 0% 49.8%) | |
| Nearest name | teal | |
| CMYK | cmyk(100%, 0%, 0%, 49.8%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(54.312% 0.09271 194.769)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(54.312% -0.08965 -0.02363) | |
| CIE LCh | lch(47.986% 31.685 196.455) | |
| CIE Lab | lab(47.986% -30.387 -8.975) | |
| Display P3 | color(display-p3 0.216 0.4942 0.498) | |
| Rec. 2020 | color(rec2020 0.2543 0.4347 0.4481) | |
| srgb-linear | color(srgb-linear 0 0.2159 0.2159)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.1161 0.17 0.2309) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.0, 0.502, 0.502)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.0, 0.216, 0.216)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.0, 0.502, 0.502, 1.0) | |
| GLSL vec4 — linear | vec4(0.0, 0.216, 0.216, 1.0) | |
| GLSL ivec3 | ivec3(0, 128, 128) | |
| HLSL float3 — sRGB | float3(0.0, 0.502, 0.502) | |
| HLSL float3 — linear | float3(0.0, 0.216, 0.216) | |
| HLSL float4 — sRGB | float4(0.0, 0.502, 0.502, 1.0) | |
| HLSL half4 — sRGB | half4(0.0, 0.502, 0.502, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.0, 0.502, 0.502) | |
| WGSL vec4f — sRGB | vec4f(0.0, 0.502, 0.502, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.0, 0.216, 0.216) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.0f, 0.502f, 0.502f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(0, 128, 128, 255) | |
| Unreal FLinearColor | FLinearColor(0.0f, 0.2159f, 0.2159f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(0, 128, 128, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0, 0.502, 0.502, 1) | |
| Flutter Color | Color(0xFF008080)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(0, 128, 128) | |
| SwiftUI Color | Color(red: 0, green: 0.502, blue: 0.502) | |
| UIKit UIColor | UIColor(red: 0, green: 0.502, blue: 0.502, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x008080 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF008080 | |
| Array 0–1 | [0, 0.502, 0.502] | |
| Array 0–255 | [0, 128, 128] | |
| Decimal integer | 32896 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Teal on white | 4.77:1 | AA | Lc 73 | Headings and large text |
| Teal on black | 4.40:1 | AA Large | Lc 29 | Not usable for text |
Teal text on a white background
Teal text on a black background
White text on Teal
Black text on Teal
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#c1ffff
- 100#b4fdfc
- 200#9eedec
- 300#81d7d6
- 400#5dbbba
- 500#359d9c
- 600#138282
- 700#006969
- 800#005455
- 900#004343
- 950#002728
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#469594
- Tint 2#6ea9a9
- Tint 3#93bebe
- Tint 4#b7d4d3
- Tint 5#dbe9e9
- Shade 1#006363
- Shade 2#004848
- Shade 3#002e2e
- Shade 4#001616
- Shade 5#000303
Colours that work with Teal
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #9e585e
- #845e95
- #8f672a
- #308062
- #207a98
Closest CSS names
tealexact matchdarkcyanΔEok 0.034seagreenΔEok 0.080slategrayΔEok 0.093steelblueΔEok 0.094dimgrayΔEok 0.095