#AFB625#AFB625
#AFB625 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.156 H 112.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB625 |
|---|---|
| RGB | rgb(175, 182, 37) |
| HSL | hsl(63, 66%, 43%) |
| HSV | hsv(63, 80%, 71%) |
| CMYK | cmyk(3.8%, 0%, 79.7%, 28.6%) |
| CIE-LAB | lab(71.35, -19.02, 66.28) |
| CIE-LCH | lch(71.35, 68.96, 106.02°) |
| OKLab | oklab(74.65% -0.0597 0.144) |
| OKLCH | oklch(74.65% 0.156 112.5) |
| XYZ | xyz(34.7423, 42.7043, 8.1625) |
| Luminance | 0.4270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.76
Snot
#ACBB0D
ΔE00 2.22
Bile
#B5C306
ΔE00 3.87
Puke Green
#9AAE07
ΔE00 4.11
Baby Puke Green
#B6C406
ΔE00 4.11
Puke Yellow
#C2BE0E
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB625 #2C25B6
analogous
#B67525 #AFB625 #66B625
triadic
#AFB625 #25AFB6 #B625AF
tetradic
#AFB625 #25B675 #2C25B6 #B62566
square
#AFB625 #25B675 #2C25B6 #B62566
split-complementary
#AFB625 #2566B6 #7525B6
monochromatic
#4D5010 #7E831B #AFB625 #D1D840 #DDE373
Accessibility & contrast
On white
2.20
#AFB625 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#AFB625 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB625
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB625 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB625 | 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)
#C5B033
Tritanopia (blue-blind)
#BBAA9C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb625; /* rgb */ color: rgb(175, 182, 37); /* oklch */ color: oklch(74.7% 0.156 112.5);
Tailwind
colors: {
custom: {
50: '#cbcb6d',
500: '#afb625',
950: '#000000',
},
}SCSS
$custom: #afb625; $custom-light: #cbcb6d; $custom-dark: #000000;
JSON
{
"hex": "#afb625",
"rgb": {
"r": 175,
"g": 182,
"b": 37
},
"hsl": {
"h": 62.897,
"s": 66.21,
"l": 42.941
},
"oklch": {
"l": 0.74654,
"c": 0.15584,
"h": 112.5
},
"luminance": 0.42703
}Semantic roles & 50–950 ramp
primary
#AFB625
secondary
#726DCA
accent
#3FE947
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B