#AFB626#AFB626
#AFB626 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.155 H 112.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB626 |
|---|---|
| RGB | rgb(175, 182, 38) |
| HSL | hsl(63, 65%, 43%) |
| HSV | hsv(63, 79%, 71%) |
| CMYK | cmyk(3.8%, 0%, 79.1%, 28.6%) |
| CIE-LAB | lab(71.36, -18.99, 66.00) |
| CIE-LCH | lch(71.36, 68.68, 106.05°) |
| OKLab | oklab(74.66% -0.0595 0.1435) |
| OKLCH | oklch(74.66% 0.155 112.5) |
| XYZ | xyz(34.7582, 42.7106, 8.2463) |
| Luminance | 0.4271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.81
Snot
#ACBB0D
ΔE00 2.25
Bile
#B5C306
ΔE00 3.91
Puke Green
#9AAE07
ΔE00 4.11
Baby Puke Green
#B6C406
ΔE00 4.14
Puke Yellow
#C2BE0E
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB626 #2D26B6
analogous
#B67526 #AFB626 #67B626
triadic
#AFB626 #26AFB6 #B626AF
tetradic
#AFB626 #26B675 #2D26B6 #B62667
square
#AFB626 #26B675 #2D26B6 #B62667
split-complementary
#AFB626 #2667B6 #7526B6
monochromatic
#4E5111 #7E831B #AFB626 #D0D742 #DDE274
Accessibility & contrast
On white
2.20
#AFB626 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#AFB626 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB626
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB626 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#BBAB9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb626; /* rgb */ color: rgb(175, 182, 38); /* oklch */ color: oklch(74.7% 0.155 112.5);
Tailwind
colors: {
custom: {
50: '#cbcb6e',
500: '#afb626',
950: '#000000',
},
}SCSS
$custom: #afb626; $custom-light: #cbcb6e; $custom-dark: #000000;
JSON
{
"hex": "#afb626",
"rgb": {
"r": 175,
"g": 182,
"b": 38
},
"hsl": {
"h": 62.917,
"s": 65.455,
"l": 43.137
},
"oklch": {
"l": 0.74659,
"c": 0.15539,
"h": 112.5
},
"luminance": 0.4271
}Semantic roles & 50–950 ramp
primary
#AFB626
secondary
#736EC9
accent
#3FE848
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B