#AFB829#AFB829
#AFB829 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.156 H 113.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB829 |
|---|---|
| RGB | rgb(175, 184, 41) |
| HSL | hsl(64, 64%, 44%) |
| HSV | hsv(64, 78%, 72%) |
| CMYK | cmyk(4.9%, 0%, 77.7%, 27.8%) |
| CIE-LAB | lab(71.93, -19.88, 65.63) |
| CIE-LCH | lch(71.93, 68.57, 106.85°) |
| OKLab | oklab(75.12% -0.0618 0.1433) |
| OKLCH | oklch(75.12% 0.156 113.3) |
| XYZ | xyz(35.2211, 43.5558, 8.6491) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.88
Snot
#ACBB0D
ΔE00 1.88
Bile
#B5C306
ΔE00 3.51
Baby Puke Green
#B6C406
ΔE00 3.74
Pea
#A4BF20
ΔE00 3.87
Puke Green
#9AAE07
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB829 #3229B8
analogous
#B87A29 #AFB829 #68B829
triadic
#AFB829 #29AFB8 #B829AF
tetradic
#AFB829 #29B87A #3229B8 #B82968
square
#AFB829 #29B87A #3229B8 #B82968
split-complementary
#AFB829 #2968B8 #7A29B8
monochromatic
#505413 #7F861E #AFB829 #CDD648 #DBE17A
Accessibility & contrast
On white
2.16
#AFB829 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#AFB829 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB829
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB829 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B236
Tritanopia (blue-blind)
#BBAD9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb829; /* rgb */ color: rgb(175, 184, 41); /* oklch */ color: oklch(75.1% 0.156 113.3);
Tailwind
colors: {
custom: {
50: '#cbcd6f',
500: '#afb829',
950: '#000000',
},
}SCSS
$custom: #afb829; $custom-light: #cbcd6f; $custom-dark: #000000;
JSON
{
"hex": "#afb829",
"rgb": {
"r": 175,
"g": 184,
"b": 41
},
"hsl": {
"h": 63.776,
"s": 63.556,
"l": 44.118
},
"oklch": {
"l": 0.75122,
"c": 0.15602,
"h": 113.3
},
"luminance": 0.43555
}Semantic roles & 50–950 ramp
primary
#AFB829
secondary
#7973C9
accent
#41E74C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B