#AFB735#AFB735
#AFB735 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.148 H 113.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB735 |
|---|---|
| RGB | rgb(175, 183, 53) |
| HSL | hsl(64, 55%, 46%) |
| HSV | hsv(64, 71%, 72%) |
| CMYK | cmyk(4.4%, 0%, 71%, 28.2%) |
| CIE-LAB | lab(71.72, -18.83, 61.43) |
| CIE-LCH | lch(71.72, 64.26, 107.04°) |
| OKLab | oklab(74.97% -0.0578 0.1365) |
| OKLCH | oklch(74.97% 0.148 113) |
| XYZ | xyz(35.2563, 43.2387, 9.8562) |
| Luminance | 0.4324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.73
Snot
#ACBB0D
ΔE00 2.88
Pea
#A4BF20
ΔE00 4.25
Sick Green
#9DB92C
ΔE00 4.32
Puke Green
#9AAE07
ΔE00 4.35
Bile
#B5C306
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB735 #3D35B7
analogous
#B77E35 #AFB735 #6EB735
triadic
#AFB735 #35AFB7 #B735AF
tetradic
#AFB735 #35B77E #3D35B7 #B7356E
square
#AFB735 #35B77E #3D35B7 #B7356E
split-complementary
#AFB735 #356EB7 #7E35B7
monochromatic
#54581A #828827 #AFB735 #C8CF5A #D8DD89
Accessibility & contrast
On white
2.18
#AFB735 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#AFB735 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB735
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB735 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB735 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE1E
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#BBAC9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb735; /* rgb */ color: rgb(175, 183, 53); /* oklch */ color: oklch(75.0% 0.148 113.0);
Tailwind
colors: {
custom: {
50: '#cacc75',
500: '#afb735',
950: '#000000',
},
}SCSS
$custom: #afb735; $custom-light: #cacc75; $custom-dark: #000000;
JSON
{
"hex": "#afb735",
"rgb": {
"r": 175,
"g": 183,
"b": 53
},
"hsl": {
"h": 63.692,
"s": 55.085,
"l": 46.275
},
"oklch": {
"l": 0.74971,
"c": 0.14825,
"h": 113
},
"luminance": 0.43238
}Semantic roles & 50–950 ramp
primary
#AFB735
secondary
#8581C7
accent
#49DE53
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B