#AFB145#AFB145
#AFB145 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.130 H 110.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB145 |
|---|---|
| RGB | rgb(175, 177, 69) |
| HSL | hsl(61, 44%, 48%) |
| HSV | hsv(61, 61%, 69%) |
| CMYK | cmyk(1.1%, 0%, 61%, 30.6%) |
| CIE-LAB | lab(70.17, -14.83, 53.42) |
| CIE-LCH | lch(70.17, 55.44, 105.51°) |
| OKLab | oklab(73.77% -0.0449 0.1221) |
| OKLCH | oklch(73.77% 0.13 110.2) |
| XYZ | xyz(34.4765, 40.9888, 11.7246) |
| Luminance | 0.4099 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.04
Mustard Green
#A8B504
ΔE00 5.05
Puke
#A5A502
ΔE00 5.42
Booger
#9BB53C
ΔE00 5.54
Darkkhaki
#BDB76B
ΔE00 5.61
Puke Green
#9AAE07
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB145 #4745B1
analogous
#B17D45 #AFB145 #79B145
triadic
#AFB145 #45AFB1 #B145AF
tetradic
#AFB145 #45B17D #4745B1 #B14579
square
#AFB145 #45B17D #4745B1 #B14579
split-complementary
#AFB145 #4579B1 #7D45B1
monochromatic
#585923 #838534 #AFB145 #C4C66D #D6D799
Accessibility & contrast
On white
2.28
#AFB145 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#AFB145 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB145
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB145 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB145 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#BAA79A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb145; /* rgb */ color: rgb(175, 177, 69); /* oklch */ color: oklch(73.8% 0.130 110.2);
Tailwind
colors: {
custom: {
50: '#c9c87d',
500: '#afb145',
950: '#000000',
},
}SCSS
$custom: #afb145; $custom-light: #c9c87d; $custom-dark: #000000;
JSON
{
"hex": "#afb145",
"rgb": {
"r": 175,
"g": 177,
"b": 69
},
"hsl": {
"h": 61.111,
"s": 43.902,
"l": 48.235
},
"oklch": {
"l": 0.73771,
"c": 0.13012,
"h": 110.2
},
"luminance": 0.40988
}Semantic roles & 50–950 ramp
primary
#AFB145
secondary
#8F8EC3
accent
#54D457
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C