#AFB245#AFB245
#AFB245 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.131 H 110.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB245 |
|---|---|
| RGB | rgb(175, 178, 69) |
| HSL | hsl(62, 44%, 48%) |
| HSV | hsv(62, 61%, 70%) |
| CMYK | cmyk(1.7%, 0%, 61.2%, 30.2%) |
| CIE-LAB | lab(70.44, -15.34, 53.71) |
| CIE-LCH | lch(70.44, 55.86, 105.94°) |
| OKLab | oklab(73.99% -0.0464 0.1227) |
| OKLCH | oklch(73.99% 0.131 110.7) |
| XYZ | xyz(34.6748, 41.3853, 11.7906) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.87
Vomit
#A2A415
ΔE00 5.20
Booger
#9BB53C
ΔE00 5.29
Snot
#ACBB0D
ΔE00 5.39
Puke Green
#9AAE07
ΔE00 5.50
Puke
#A5A502
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB245 #4845B2
analogous
#B27E45 #AFB245 #78B245
triadic
#AFB245 #45AFB2 #B245AF
tetradic
#AFB245 #45B27E #4845B2 #B24578
square
#AFB245 #45B27E #4845B2 #B24578
split-complementary
#AFB245 #4578B2 #7E45B2
monochromatic
#585A23 #848634 #AFB245 #C4C76E #D6D89A
Accessibility & contrast
On white
2.26
#AFB245 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#AFB245 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB245
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB245 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB245 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB38
Deuteranopia (green-blind)
#C0AE4C
Tritanopia (blue-blind)
#BAA89B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb245; /* rgb */ color: rgb(175, 178, 69); /* oklch */ color: oklch(74.0% 0.131 110.7);
Tailwind
colors: {
custom: {
50: '#c9c87d',
500: '#afb245',
950: '#000000',
},
}SCSS
$custom: #afb245; $custom-light: #c9c87d; $custom-dark: #000000;
JSON
{
"hex": "#afb245",
"rgb": {
"r": 175,
"g": 178,
"b": 69
},
"hsl": {
"h": 61.651,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.73992,
"c": 0.13121,
"h": 110.7
},
"luminance": 0.41384
}Semantic roles & 50–950 ramp
primary
#AFB245
secondary
#908FC4
accent
#54D457
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C