#AFB026#AFB026
#AFB026 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 | #AFB026 |
|---|---|
| RGB | rgb(175, 176, 38) |
| HSL | hsl(60, 64%, 42%) |
| HSV | hsv(60, 78%, 69%) |
| CMYK | cmyk(0.6%, 0%, 78.4%, 31%) |
| CIE-LAB | lab(69.69, -15.96, 64.51) |
| CIE-LCH | lch(69.69, 66.46, 103.89°) |
| OKLab | oklab(73.32% -0.0511 0.1403) |
| OKLCH | oklch(73.32% 0.149 110) |
| XYZ | xyz(33.5556, 40.3056, 7.8455) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.08
Puke
#A5A502
ΔE00 3.35
Vomit
#A2A415
ΔE00 3.59
Snot
#ACBB0D
ΔE00 4.09
Puke Green
#9AAE07
ΔE00 4.59
Olive Yellow
#C2B709
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB026 #2726B0
analogous
#B06C26 #AFB026 #6AB026
triadic
#AFB026 #26AFB0 #B026AF
tetradic
#AFB026 #26B06C #2726B0 #B0266A
square
#AFB026 #26B06C #2726B0 #B0266A
split-complementary
#AFB026 #266AB0 #6C26B0
monochromatic
#4B4B10 #7D7E1B #AFB026 #D4D53E #DFE070
Accessibility & contrast
On white
2.32
#AFB026 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#AFB026 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB026
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB026 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB026 | 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)
#C0AC32
Tritanopia (blue-blind)
#BCA497
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afb026; /* rgb */ color: rgb(175, 176, 38); /* oklch */ color: oklch(73.3% 0.149 110.0);
Tailwind
colors: {
custom: {
50: '#cbc76d',
500: '#afb026',
950: '#000000',
},
}SCSS
$custom: #afb026; $custom-light: #cbc76d; $custom-dark: #000000;
JSON
{
"hex": "#afb026",
"rgb": {
"r": 175,
"g": 176,
"b": 38
},
"hsl": {
"h": 60.435,
"s": 64.486,
"l": 41.961
},
"oklch": {
"l": 0.73321,
"c": 0.14936,
"h": 110
},
"luminance": 0.40305
}Semantic roles & 50–950 ramp
primary
#AFB026
secondary
#6B6BC7
accent
#40E742
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A