#AFB131#AFB131
#AFB131 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.144 H 110.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB131 |
|---|---|
| RGB | rgb(175, 177, 49) |
| HSL | hsl(61, 57%, 44%) |
| HSV | hsv(61, 72%, 69%) |
| CMYK | cmyk(1.1%, 0%, 72.3%, 30.6%) |
| CIE-LAB | lab(70.02, -16.00, 61.23) |
| CIE-LCH | lch(70.02, 63.29, 104.64°) |
| OKLab | oklab(73.61% -0.0503 0.1354) |
| OKLCH | oklch(73.61% 0.144 110.4) |
| XYZ | xyz(33.9569, 40.7809, 8.9879) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.31
Vomit
#A2A415
ΔE00 3.96
Puke
#A5A502
ΔE00 3.97
Snot
#ACBB0D
ΔE00 4.15
Puke Green
#9AAE07
ΔE00 4.59
Olive Yellow
#C2B709
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB131 #3331B1
analogous
#B17331 #AFB131 #6FB131
triadic
#AFB131 #31AFB1 #B131AF
tetradic
#AFB131 #31B173 #3331B1 #B1316F
square
#AFB131 #31B173 #3331B1 #B1316F
split-complementary
#AFB131 #316FB1 #7331B1
monochromatic
#505116 #808124 #AFB131 #CDCF51 #DBDC80
Accessibility & contrast
On white
2.29
#AFB131 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#AFB131 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB131
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB131 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB131 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#BBA698
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb131; /* rgb */ color: rgb(175, 177, 49); /* oklch */ color: oklch(73.6% 0.144 110.4);
Tailwind
colors: {
custom: {
50: '#cac872',
500: '#afb131',
950: '#000000',
},
}SCSS
$custom: #afb131; $custom-light: #cac872; $custom-dark: #000000;
JSON
{
"hex": "#afb131",
"rgb": {
"r": 175,
"g": 177,
"b": 49
},
"hsl": {
"h": 60.938,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.73608,
"c": 0.14442,
"h": 110.4
},
"luminance": 0.4078
}Semantic roles & 50–950 ramp
primary
#AFB131
secondary
#7A79C5
accent
#48E04A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B