Colour reference
Persian Green
#2a9d8f
- RGB
- rgb(42 157 143)
- HSL
- 173°, 58%, 39%
- OKLCh
- 63.0% 0.101 183.0
Persian Green in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #2a9d8f | |
|---|---|---|
| RGB | rgb(42 157 143) | |
| RGB legacy | rgb(42, 157, 143) | |
| RGB percent | rgb(16.47% 61.57% 56.08%) | |
| HSL | hsl(172.7 57.8% 39%) | |
| HSL legacy | hsl(172.7, 57.8%, 39%) | |
| HSV / HSB | hsv(172.7, 73.2%, 61.6%) | |
| HWB | hwb(172.7 16.5% 38.4%) | |
| Nearest name | cadetblue (approx.) | |
| CMYK | cmyk(73.2%, 0%, 8.9%, 38.4%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(63.042% 0.10131 183.031)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(63.042% -0.10116 -0.00536) | |
| CIE LCh | lch(58.369% 35.27 183.698) | |
| CIE Lab | lab(58.369% -35.196 -2.275) | |
| Display P3 | color(display-p3 0.3112 0.607 0.561) | |
| Rec. 2020 | color(rec2020 0.3508 0.5541 0.5167) | |
| srgb-linear | color(srgb-linear 0.0232 0.3372 0.2747)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.1797 0.2659 0.3017) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.165, 0.616, 0.561)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.023, 0.337, 0.275)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.165, 0.616, 0.561, 1.0) | |
| GLSL vec4 — linear | vec4(0.023, 0.337, 0.275, 1.0) | |
| GLSL ivec3 | ivec3(42, 157, 143) | |
| HLSL float3 — sRGB | float3(0.165, 0.616, 0.561) | |
| HLSL float3 — linear | float3(0.023, 0.337, 0.275) | |
| HLSL float4 — sRGB | float4(0.165, 0.616, 0.561, 1.0) | |
| HLSL half4 — sRGB | half4(0.165, 0.616, 0.561, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.165, 0.616, 0.561) | |
| WGSL vec4f — sRGB | vec4f(0.165, 0.616, 0.561, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.023, 0.337, 0.275) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.165f, 0.616f, 0.561f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(42, 157, 143, 255) | |
| Unreal FLinearColor | FLinearColor(0.0232f, 0.3372f, 0.2747f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(42, 157, 143, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.165, 0.616, 0.561, 1) | |
| Flutter Color | Color(0xFF2A9D8F)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(42, 157, 143) | |
| SwiftUI Color | Color(red: 0.165, green: 0.616, blue: 0.561) | |
| UIKit UIColor | UIColor(red: 0.165, green: 0.616, blue: 0.561, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x2A9D8F | |
|---|---|---|
| 0x hex (ARGB) | 0xFF2A9D8F | |
| Array 0–1 | [0.165, 0.616, 0.561] | |
| Array 0–255 | [42, 157, 143] | |
| Decimal integer | 2792847 |
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 |
|---|---|---|---|---|
| Persian Green on white | 3.32:1 | AA Large | Lc 60 | Headings and large text |
| Persian Green on black | 6.32:1 | AA | Lc 41 | Non-text elements only |
Persian Green text on a white background
Persian Green text on a black background
White text on Persian Green
Black text on Persian Green
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#c7fffb
- 100#b1fff2
- 200#9befe2
- 300#7dd9cb
- 400#57bdaf
- 500#2d9f91
- 600#008477
- 700#006b60
- 800#00564c
- 900#00453c
- 950#002822
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#59ada1
- Tint 2#7dbeb3
- Tint 3#9fcec6
- Tint 4#bfded8
- Tint 5#dfefec
- Shade 1#1f7a6f
- Shade 2#145951
- Shade 3#0a3a34
- Shade 4#031d1a
- Shade 5#000504
Colours that work with Persian Green
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #bc6e83
- #967abc
- #b47b44
- #559b6c
- #2699ae
Closest CSS names
cadetblueΔEok 0.050darkcyanΔEok 0.058lightseagreenΔEok 0.063seagreenΔEok 0.083tealΔEok 0.090mediumseagreenΔEok 0.090