#AFC239#AFC239
#AFC239 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.158 H 117.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC239 |
|---|---|
| RGB | rgb(175, 194, 57) |
| HSL | hsl(68, 55%, 49%) |
| HSV | hsv(68, 71%, 76%) |
| CMYK | cmyk(9.8%, 0%, 70.6%, 23.9%) |
| CIE-LAB | lab(74.82, -24.06, 63.03) |
| CIE-LCH | lch(74.82, 67.46, 110.90°) |
| OKLab | oklab(77.47% -0.072 0.1405) |
| OKLCH | oklch(77.47% 0.158 117.1) |
| XYZ | xyz(37.7104, 47.9934, 11.1472) |
| Luminance | 0.4799 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.28
Gross Green
#A0BF16
ΔE00 3.02
Snot
#ACBB0D
ΔE00 3.22
Sick Green
#9DB92C
ΔE00 3.42
Bile
#B5C306
ΔE00 3.54
Baby Puke Green
#B6C406
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC239 #4C39C2
analogous
#C29139 #AFC239 #6BC239
triadic
#AFC239 #39AFC2 #C239AF
tetradic
#AFC239 #39C291 #4C39C2 #C2396B
square
#AFC239 #39C291 #4C39C2 #C2396B
split-complementary
#AFC239 #396BC2 #9139C2
monochromatic
#5A631D #84932B #AFC239 #C3D266 #D6E095
Accessibility & contrast
On white
1.98
#AFC239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#AFC239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC239
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC239 | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB821
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc239; /* rgb */ color: rgb(175, 194, 57); /* oklch */ color: oklch(77.5% 0.158 117.1);
Tailwind
colors: {
custom: {
50: '#cad478',
500: '#afc239',
950: '#000000',
},
}SCSS
$custom: #afc239; $custom-light: #cad478; $custom-dark: #000000;
JSON
{
"hex": "#afc239",
"rgb": {
"r": 175,
"g": 194,
"b": 57
},
"hsl": {
"h": 68.321,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.77469,
"c": 0.1579,
"h": 117.1
},
"luminance": 0.47993
}Semantic roles & 50–950 ramp
primary
#AFC239
secondary
#948BCB
accent
#4ADE5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B