#AFB535#AFB535
#AFB535 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.146 H 112.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB535 |
|---|---|
| RGB | rgb(175, 181, 53) |
| HSL | hsl(63, 55%, 46%) |
| HSV | hsv(63, 71%, 71%) |
| CMYK | cmyk(3.3%, 0%, 70.7%, 29%) |
| CIE-LAB | lab(71.16, -17.83, 60.89) |
| CIE-LCH | lch(71.16, 63.45, 106.32°) |
| OKLab | oklab(74.52% -0.055 0.1354) |
| OKLCH | oklch(74.52% 0.146 112.1) |
| XYZ | xyz(34.8468, 42.4196, 9.7196) |
| Luminance | 0.4242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.88
Snot
#ACBB0D
ΔE00 3.31
Puke Green
#9AAE07
ΔE00 4.36
Sick Green
#9DB92C
ΔE00 4.77
Pea
#A4BF20
ΔE00 4.84
Bile
#B5C306
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB535 #3B35B5
analogous
#B57B35 #AFB535 #6FB535
triadic
#AFB535 #35AFB5 #B535AF
tetradic
#AFB535 #35B57B #3B35B5 #B5356F
square
#AFB535 #35B57B #3B35B5 #B5356F
split-complementary
#AFB535 #356FB5 #7B35B5
monochromatic
#535619 #818627 #AFB535 #C9CE59 #D8DC88
Accessibility & contrast
On white
2.21
#AFB535 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#AFB535 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB535
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB535 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB535 | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD1F
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#BBAA9C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb535; /* rgb */ color: rgb(175, 181, 53); /* oklch */ color: oklch(74.5% 0.146 112.1);
Tailwind
colors: {
custom: {
50: '#cacb75',
500: '#afb535',
950: '#000000',
},
}SCSS
$custom: #afb535; $custom-light: #cacb75; $custom-dark: #000000;
JSON
{
"hex": "#afb535",
"rgb": {
"r": 175,
"g": 181,
"b": 53
},
"hsl": {
"h": 62.813,
"s": 54.701,
"l": 45.882
},
"oklch": {
"l": 0.74525,
"c": 0.14611,
"h": 112.1
},
"luminance": 0.42419
}Semantic roles & 50–950 ramp
primary
#AFB535
secondary
#8380C6
accent
#4ADE51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B