#AFB633#AFB633
#AFB633 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.148 H 112.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB633 |
|---|---|
| RGB | rgb(175, 182, 51) |
| HSL | hsl(63, 56%, 46%) |
| HSV | hsv(63, 72%, 71%) |
| CMYK | cmyk(3.8%, 0%, 72%, 28.6%) |
| CIE-LAB | lab(71.43, -18.43, 61.87) |
| CIE-LCH | lch(71.43, 64.56, 106.59°) |
| OKLab | oklab(74.73% -0.0569 0.1371) |
| OKLCH | oklch(74.73% 0.148 112.5) |
| XYZ | xyz(35.0058, 42.8097, 9.5504) |
| Luminance | 0.4281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.62
Snot
#ACBB0D
ΔE00 2.94
Puke Green
#9AAE07
ΔE00 4.28
Pea
#A4BF20
ΔE00 4.51
Bile
#B5C306
ΔE00 4.51
Sick Green
#9DB92C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB633 #3A33B6
analogous
#B67B33 #AFB633 #6DB633
triadic
#AFB633 #33AFB6 #B633AF
tetradic
#AFB633 #33B67B #3A33B6 #B6336D
square
#AFB633 #33B67B #3A33B6 #B6336D
split-complementary
#AFB633 #336DB6 #7B33B6
monochromatic
#535618 #818626 #AFB633 #C9D056 #D9DD86
Accessibility & contrast
On white
2.20
#AFB633 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#AFB633 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB633
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB633 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB633 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD1B
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#BBAB9D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb633; /* rgb */ color: rgb(175, 182, 51); /* oklch */ color: oklch(74.7% 0.148 112.5);
Tailwind
colors: {
custom: {
50: '#cacb74',
500: '#afb633',
950: '#000000',
},
}SCSS
$custom: #afb633; $custom-light: #cacb74; $custom-dark: #000000;
JSON
{
"hex": "#afb633",
"rgb": {
"r": 175,
"g": 182,
"b": 51
},
"hsl": {
"h": 63.206,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.74734,
"c": 0.14843,
"h": 112.5
},
"luminance": 0.42809
}Semantic roles & 50–950 ramp
primary
#AFB633
secondary
#827EC7
accent
#48E050
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B