#AFB027#AFB027
#AFB027 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.3% C 0.149 H 110.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB027 |
|---|---|
| RGB | rgb(175, 176, 39) |
| HSL | hsl(60, 64%, 42%) |
| HSV | hsv(60, 78%, 69%) |
| CMYK | cmyk(0.6%, 0%, 77.8%, 31%) |
| CIE-LAB | lab(69.69, -15.92, 64.22) |
| CIE-LCH | lch(69.69, 66.16, 103.92°) |
| OKLab | oklab(73.33% -0.0509 0.1399) |
| OKLCH | oklch(73.33% 0.149 110) |
| XYZ | xyz(33.5720, 40.3121, 7.9316) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.11
Puke
#A5A502
ΔE00 3.38
Vomit
#A2A415
ΔE00 3.59
Snot
#ACBB0D
ΔE00 4.11
Puke Green
#9AAE07
ΔE00 4.59
Olive Yellow
#C2B709
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB027 #2827B0
analogous
#B06D27 #AFB027 #6BB027
triadic
#AFB027 #27AFB0 #B027AF
tetradic
#AFB027 #27B06D #2827B0 #B0276B
square
#AFB027 #27B06D #2827B0 #B0276B
split-complementary
#AFB027 #276BB0 #6D27B0
monochromatic
#4B4C11 #7D7E1C #AFB027 #D4D540 #DFE072
Accessibility & contrast
On white
2.32
#AFB027 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#AFB027 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB027
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB027 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB027 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#BCA497
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afb027; /* rgb */ color: rgb(175, 176, 39); /* oklch */ color: oklch(73.3% 0.149 110.0);
Tailwind
colors: {
custom: {
50: '#cbc76e',
500: '#afb027',
950: '#000000',
},
}SCSS
$custom: #afb027; $custom-light: #cbc76e; $custom-dark: #000000;
JSON
{
"hex": "#afb027",
"rgb": {
"r": 175,
"g": 176,
"b": 39
},
"hsl": {
"h": 60.438,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.73326,
"c": 0.14889,
"h": 110
},
"luminance": 0.40311
}Semantic roles & 50–950 ramp
primary
#AFB027
secondary
#6D6CC7
accent
#41E742
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B