#AFC154#AFC154
#AFC154 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.136 H 117.5°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC154 |
|---|---|
| RGB | rgb(175, 193, 84) |
| HSL | hsl(70, 47%, 54%) |
| HSV | hsv(70, 56%, 76%) |
| CMYK | cmyk(9.3%, 0%, 56.5%, 24.3%) |
| CIE-LAB | lab(74.76, -21.73, 51.80) |
| CIE-LCH | lch(74.76, 56.18, 112.76°) |
| OKLab | oklab(77.49% -0.0628 0.1205) |
| OKLCH | oklch(77.49% 0.136 117.5) |
| XYZ | xyz(38.3500, 47.8943, 15.6100) |
| Luminance | 0.4789 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 2.98
Light Olive
#ACBF69
ΔE00 3.60
Booger
#9BB53C
ΔE00 4.24
Sick Green
#9DB92C
ΔE00 4.48
Pea
#A4BF20
ΔE00 4.79
Tan Green
#A9BE70
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC154 #6654C1
analogous
#C19D54 #AFC154 #79C154
triadic
#AFC154 #54AFC1 #C154AF
tetradic
#AFC154 #54C19D #6654C1 #C15479
square
#AFC154 #54C19D #6654C1 #C15479
split-complementary
#AFC154 #5479C1 #9D54C1
monochromatic
#667129 #8E9E39 #AFC154 #C4D181 #D9E2AE
Accessibility & contrast
On white
1.99
#AFC154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.58
#AFC154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC154
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC154 | 1.00 | 1.99 | 10.58 | 10.58 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#B8B7A9
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc154; /* rgb */ color: rgb(175, 193, 84); /* oklch */ color: oklch(77.5% 0.136 117.5);
Tailwind
colors: {
custom: {
50: '#c9d388',
500: '#afc154',
950: '#000000',
},
}SCSS
$custom: #afc154; $custom-light: #c9d388; $custom-dark: #000000;
JSON
{
"hex": "#afc154",
"rgb": {
"r": 175,
"g": 193,
"b": 84
},
"hsl": {
"h": 69.908,
"s": 46.781,
"l": 54.314
},
"oklch": {
"l": 0.77489,
"c": 0.13593,
"h": 117.5
},
"luminance": 0.47894
}Semantic roles & 50–950 ramp
primary
#AFC154
secondary
#A9A1D0
accent
#51D667
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D