#AFB627#AFB627
#AFB627 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 | #AFB627 |
|---|---|
| RGB | rgb(175, 182, 39) |
| HSL | hsl(63, 65%, 43%) |
| HSV | hsv(63, 79%, 71%) |
| CMYK | cmyk(3.8%, 0%, 78.6%, 28.6%) |
| CIE-LAB | lab(71.36, -18.95, 65.71) |
| CIE-LCH | lch(71.36, 68.39, 106.09°) |
| OKLab | oklab(74.66% -0.0594 0.1431) |
| OKLCH | oklch(74.66% 0.155 112.5) |
| XYZ | xyz(34.7745, 42.7172, 8.3325) |
| Luminance | 0.4272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.85
Snot
#ACBB0D
ΔE00 2.29
Bile
#B5C306
ΔE00 3.94
Puke Green
#9AAE07
ΔE00 4.11
Baby Puke Green
#B6C406
ΔE00 4.18
Pea
#A4BF20
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB627 #2E27B6
analogous
#B67527 #AFB627 #67B627
triadic
#AFB627 #27AFB6 #B627AF
tetradic
#AFB627 #27B675 #2E27B6 #B62767
square
#AFB627 #27B675 #2E27B6 #B62767
split-complementary
#AFB627 #2767B6 #7527B6
monochromatic
#4E5111 #7F841C #AFB627 #D0D743 #DCE276
Accessibility & contrast
On white
2.20
#AFB627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#AFB627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB627
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB627 | 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: #afb627; /* rgb */ color: rgb(175, 182, 39); /* oklch */ color: oklch(74.7% 0.155 112.5);
Tailwind
colors: {
custom: {
50: '#cbcb6e',
500: '#afb627',
950: '#000000',
},
}SCSS
$custom: #afb627; $custom-light: #cbcb6e; $custom-dark: #000000;
JSON
{
"hex": "#afb627",
"rgb": {
"r": 175,
"g": 182,
"b": 39
},
"hsl": {
"h": 62.937,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.74664,
"c": 0.15492,
"h": 112.5
},
"luminance": 0.42716
}Semantic roles & 50–950 ramp
primary
#AFB627
secondary
#7470C9
accent
#40E848
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B