#AFBD27#AFBD27
#AFBD27 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.2% C 0.162 H 115.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD27 |
|---|---|
| RGB | rgb(175, 189, 39) |
| HSL | hsl(66, 66%, 45%) |
| HSV | hsv(66, 79%, 74%) |
| CMYK | cmyk(7.4%, 0%, 79.4%, 25.9%) |
| CIE-LAB | lab(73.32, -22.43, 67.46) |
| CIE-LCH | lch(73.32, 71.09, 108.39°) |
| OKLab | oklab(76.24% -0.069 0.1468) |
| OKLCH | oklch(76.24% 0.162 115.2) |
| XYZ | xyz(36.2441, 45.6563, 8.8223) |
| Luminance | 0.4566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.28
Bile
#B5C306
ΔE00 2.43
Mustard Green
#A8B504
ΔE00 2.44
Baby Puke Green
#B6C406
ΔE00 2.65
Pea
#A4BF20
ΔE00 2.65
Gross Green
#A0BF16
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD27 #3527BD
analogous
#BD8027 #AFBD27 #64BD27
triadic
#AFBD27 #27AFBD #BD27AF
tetradic
#AFBD27 #27BD80 #3527BD #BD2764
square
#AFBD27 #27BD80 #3527BD #BD2764
split-complementary
#AFBD27 #2764BD #8027BD
monochromatic
#515812 #808A1D #AFBD27 #CCD948 #DAE47B
Accessibility & contrast
On white
2.07
#AFBD27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#AFBD27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD27
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD27 | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CAB536
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd27; /* rgb */ color: rgb(175, 189, 39); /* oklch */ color: oklch(76.2% 0.162 115.2);
Tailwind
colors: {
custom: {
50: '#cbd06f',
500: '#afbd27',
950: '#000000',
},
}SCSS
$custom: #afbd27; $custom-light: #cbd06f; $custom-dark: #000000;
JSON
{
"hex": "#afbd27",
"rgb": {
"r": 175,
"g": 189,
"b": 39
},
"hsl": {
"h": 65.6,
"s": 65.789,
"l": 44.706
},
"oklch": {
"l": 0.76235,
"c": 0.16222,
"h": 115.2
},
"luminance": 0.45656
}Semantic roles & 50–950 ramp
primary
#AFBD27
secondary
#7C74CC
accent
#3FE94F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B