#AFB830#AFB830
#AFB830 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.152 H 113.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB830 |
|---|---|
| RGB | rgb(175, 184, 48) |
| HSL | hsl(64, 59%, 45%) |
| HSV | hsv(64, 74%, 72%) |
| CMYK | cmyk(4.9%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(71.97, -19.58, 63.43) |
| CIE-LCH | lch(71.97, 66.38, 107.15°) |
| OKLab | oklab(75.16% -0.0603 0.1399) |
| OKLCH | oklch(75.16% 0.152 113.3) |
| XYZ | xyz(35.3543, 43.6091, 9.3507) |
| Luminance | 0.4361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.32
Mustard Green
#A8B504
ΔE00 2.32
Bile
#B5C306
ΔE00 3.87
Pea
#A4BF20
ΔE00 3.89
Baby Puke Green
#B6C406
ΔE00 4.09
Sick Green
#9DB92C
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB830 #3930B8
analogous
#B87D30 #AFB830 #6BB830
triadic
#AFB830 #30AFB8 #B830AF
tetradic
#AFB830 #30B87D #3930B8 #B8306B
square
#AFB830 #30B87D #3930B8 #B8306B
split-complementary
#AFB830 #306BB8 #7D30B8
monochromatic
#535717 #818723 #AFB830 #CAD253 #D9DF84
Accessibility & contrast
On white
2.16
#AFB830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#AFB830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB830
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB830 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#BBAD9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb830; /* rgb */ color: rgb(175, 184, 48); /* oklch */ color: oklch(75.2% 0.152 113.3);
Tailwind
colors: {
custom: {
50: '#cacd73',
500: '#afb830',
950: '#000000',
},
}SCSS
$custom: #afb830; $custom-light: #cacd73; $custom-dark: #000000;
JSON
{
"hex": "#afb830",
"rgb": {
"r": 175,
"g": 184,
"b": 48
},
"hsl": {
"h": 63.971,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.75162,
"c": 0.15232,
"h": 113.3
},
"luminance": 0.43608
}Semantic roles & 50–950 ramp
primary
#AFB830
secondary
#817CC8
accent
#46E250
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B