#AFB327#AFB327
#AFB327 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.152 H 111.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB327 |
|---|---|
| RGB | rgb(175, 179, 39) |
| HSL | hsl(62, 64%, 43%) |
| HSV | hsv(62, 78%, 70%) |
| CMYK | cmyk(2.2%, 0%, 78.2%, 29.8%) |
| CIE-LAB | lab(70.53, -17.44, 64.96) |
| CIE-LCH | lch(70.53, 67.27, 105.03°) |
| OKLab | oklab(73.99% -0.0552 0.1415) |
| OKLCH | oklch(73.99% 0.152 111.3) |
| XYZ | xyz(34.1667, 41.5016, 8.1299) |
| Luminance | 0.4150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.35
Snot
#ACBB0D
ΔE00 3.16
Puke
#A5A502
ΔE00 4.13
Puke Green
#9AAE07
ΔE00 4.23
Vomit
#A2A415
ΔE00 4.30
Puke Yellow
#C2BE0E
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB327 #2B27B3
analogous
#B37127 #AFB327 #69B327
triadic
#AFB327 #27AFB3 #B327AF
tetradic
#AFB327 #27B371 #2B27B3 #B32769
square
#AFB327 #27B371 #2B27B3 #B32769
split-complementary
#AFB327 #2769B3 #7127B3
monochromatic
#4D4E11 #7E811C #AFB327 #D1D641 #DEE174
Accessibility & contrast
On white
2.26
#AFB327 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#AFB327 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB327
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB327 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#BCA799
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb327; /* rgb */ color: rgb(175, 179, 39); /* oklch */ color: oklch(74.0% 0.152 111.3);
Tailwind
colors: {
custom: {
50: '#cbc96e',
500: '#afb327',
950: '#000000',
},
}SCSS
$custom: #afb327; $custom-light: #cbc96e; $custom-dark: #000000;
JSON
{
"hex": "#afb327",
"rgb": {
"r": 175,
"g": 179,
"b": 39
},
"hsl": {
"h": 61.714,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.73994,
"c": 0.15187,
"h": 111.3
},
"luminance": 0.41501
}Semantic roles & 50–950 ramp
primary
#AFB327
secondary
#706EC8
accent
#41E745
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B