#AFB03E#AFB03E
#AFB03E is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.135 H 109.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB03E |
|---|---|
| RGB | rgb(175, 176, 62) |
| HSL | hsl(61, 48%, 47%) |
| HSV | hsv(61, 65%, 69%) |
| CMYK | cmyk(0.6%, 0%, 64.8%, 31%) |
| CIE-LAB | lab(69.83, -14.78, 56.04) |
| CIE-LCH | lch(69.83, 57.95, 104.77°) |
| OKLab | oklab(73.49% -0.0455 0.1266) |
| OKLCH | oklch(73.49% 0.135 109.8) |
| XYZ | xyz(34.0751, 40.5134, 10.5814) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.37
Mustard Green
#A8B504
ΔE00 4.54
Puke
#A5A502
ΔE00 4.64
Snot
#ACBB0D
ΔE00 5.27
Puke Green
#9AAE07
ΔE00 5.29
Pea Soup Green
#94A617
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB03E #3F3EB0
analogous
#B0783E #AFB03E #76B03E
triadic
#AFB03E #3EAFB0 #B03EAF
tetradic
#AFB03E #3EB078 #3F3EB0 #B03E76
square
#AFB03E #3EB078 #3F3EB0 #B03E76
split-complementary
#AFB03E #3E76B0 #783EB0
monochromatic
#55551E #82832E #AFB03E #C7C863 #D7D890
Accessibility & contrast
On white
2.31
#AFB03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#AFB03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB03E
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB03E | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#BFAC45
Tritanopia (blue-blind)
#BBA599
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb03e; /* rgb */ color: rgb(175, 176, 62); /* oklch */ color: oklch(73.5% 0.135 109.8);
Tailwind
colors: {
custom: {
50: '#cac779',
500: '#afb03e',
950: '#000000',
},
}SCSS
$custom: #afb03e; $custom-light: #cac779; $custom-dark: #000000;
JSON
{
"hex": "#afb03e",
"rgb": {
"r": 175,
"g": 176,
"b": 62
},
"hsl": {
"h": 60.526,
"s": 47.899,
"l": 46.667
},
"oklch": {
"l": 0.73485,
"c": 0.13456,
"h": 109.8
},
"luminance": 0.40512
}Semantic roles & 50–950 ramp
primary
#AFB03E
secondary
#8787C3
accent
#50D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B