#AFB93B#AFB93B
#AFB93B is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.146 H 113.8°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB93B |
|---|---|
| RGB | rgb(175, 185, 59) |
| HSL | hsl(65, 52%, 48%) |
| HSV | hsv(65, 68%, 73%) |
| CMYK | cmyk(5.4%, 0%, 68.1%, 27.5%) |
| CIE-LAB | lab(72.31, -19.51, 59.78) |
| CIE-LCH | lch(72.31, 62.88, 108.08°) |
| OKLab | oklab(75.46% -0.0591 0.134) |
| OKLCH | oklch(75.46% 0.146 113.8) |
| XYZ | xyz(35.8186, 44.1283, 10.7676) |
| Luminance | 0.4413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.11
Mustard Green
#A8B504
ΔE00 3.26
Pea
#A4BF20
ΔE00 3.90
Sick Green
#9DB92C
ΔE00 3.92
Booger
#9BB53C
ΔE00 4.34
Bile
#B5C306
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB93B #453BB9
analogous
#B9843B #AFB93B #70B93B
triadic
#AFB93B #3BAFB9 #B93BAF
tetradic
#AFB93B #3BB984 #453BB9 #B93B70
square
#AFB93B #3BB984 #453BB9 #B93B70
split-complementary
#AFB93B #3B70B9 #843BB9
monochromatic
#575C1D #838B2C #AFB93B #C5CD64 #D6DC92
Accessibility & contrast
On white
2.14
#AFB93B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#AFB93B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB93B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB93B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB93B | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#BAAEA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #afb93b; /* rgb */ color: rgb(175, 185, 59); /* oklch */ color: oklch(75.5% 0.146 113.8);
Tailwind
colors: {
custom: {
50: '#cacd78',
500: '#afb93b',
950: '#000000',
},
}SCSS
$custom: #afb93b; $custom-light: #cacd78; $custom-dark: #000000;
JSON
{
"hex": "#afb93b",
"rgb": {
"r": 175,
"g": 185,
"b": 59
},
"hsl": {
"h": 64.762,
"s": 51.639,
"l": 47.843
},
"oklch": {
"l": 0.75462,
"c": 0.14648,
"h": 113.8
},
"luminance": 0.44128
}Semantic roles & 50–950 ramp
primary
#AFB93B
secondary
#8D88C7
accent
#4DDB58
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B