#AFB725#AFB725
#AFB725 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.157 H 112.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB725 |
|---|---|
| RGB | rgb(175, 183, 37) |
| HSL | hsl(63, 66%, 43%) |
| HSV | hsv(63, 80%, 72%) |
| CMYK | cmyk(4.4%, 0%, 79.8%, 28.2%) |
| CIE-LAB | lab(71.63, -19.53, 66.53) |
| CIE-LCH | lch(71.63, 69.33, 106.36°) |
| OKLab | oklab(74.88% -0.0611 0.1445) |
| OKLCH | oklch(74.88% 0.157 112.9) |
| XYZ | xyz(34.9478, 43.1153, 8.2310) |
| Luminance | 0.4311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.69
Snot
#ACBB0D
ΔE00 1.95
Bile
#B5C306
ΔE00 3.61
Baby Puke Green
#B6C406
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 4.12
Pea
#A4BF20
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB725 #2D25B7
analogous
#B77625 #AFB725 #66B725
triadic
#AFB725 #25AFB7 #B725AF
tetradic
#AFB725 #25B776 #2D25B7 #B72566
square
#AFB725 #25B776 #2D25B7 #B72566
split-complementary
#AFB725 #2566B7 #7625B7
monochromatic
#4E5110 #7E841B #AFB725 #D0D941 #DDE374
Accessibility & contrast
On white
2.18
#AFB725 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#AFB725 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB725
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB725 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB725 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C5B133
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb725; /* rgb */ color: rgb(175, 183, 37); /* oklch */ color: oklch(74.9% 0.157 112.9);
Tailwind
colors: {
custom: {
50: '#cbcc6e',
500: '#afb725',
950: '#000000',
},
}SCSS
$custom: #afb725; $custom-light: #cbcc6e; $custom-dark: #000000;
JSON
{
"hex": "#afb725",
"rgb": {
"r": 175,
"g": 183,
"b": 37
},
"hsl": {
"h": 63.288,
"s": 66.364,
"l": 43.137
},
"oklch": {
"l": 0.74878,
"c": 0.15686,
"h": 112.9
},
"luminance": 0.43115
}Semantic roles & 50–950 ramp
primary
#AFB725
secondary
#736ECA
accent
#3FE948
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B