#AFB146#AFB146
#AFB146 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.129 H 110.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB146 |
|---|---|
| RGB | rgb(175, 177, 70) |
| HSL | hsl(61, 43%, 48%) |
| HSV | hsv(61, 60%, 69%) |
| CMYK | cmyk(1.1%, 0%, 60.5%, 30.6%) |
| CIE-LAB | lab(70.18, -14.76, 52.99) |
| CIE-LCH | lch(70.18, 55.00, 105.56°) |
| OKLab | oklab(73.78% -0.0446 0.1213) |
| OKLCH | oklch(73.78% 0.129 110.2) |
| XYZ | xyz(34.5078, 41.0013, 11.8894) |
| Luminance | 0.4100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.12
Mustard Green
#A8B504
ΔE00 5.16
Darkkhaki
#BDB76B
ΔE00 5.51
Puke
#A5A502
ΔE00 5.52
Booger
#9BB53C
ΔE00 5.54
Puke Green
#9AAE07
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB146 #4846B1
analogous
#B17D46 #AFB146 #79B146
triadic
#AFB146 #46AFB1 #B146AF
tetradic
#AFB146 #46B17D #4846B1 #B14679
square
#AFB146 #46B17D #4846B1 #B14679
split-complementary
#AFB146 #4679B1 #7D46B1
monochromatic
#585923 #848535 #AFB146 #C4C66E #D6D79A
Accessibility & contrast
On white
2.28
#AFB146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#AFB146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB146
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB146 | 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)
#BEAA3A
Deuteranopia (green-blind)
#BFAD4C
Tritanopia (blue-blind)
#BAA79A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb146; /* rgb */ color: rgb(175, 177, 70); /* oklch */ color: oklch(73.8% 0.129 110.2);
Tailwind
colors: {
custom: {
50: '#c9c87e',
500: '#afb146',
950: '#000000',
},
}SCSS
$custom: #afb146; $custom-light: #c9c87e; $custom-dark: #000000;
JSON
{
"hex": "#afb146",
"rgb": {
"r": 175,
"g": 177,
"b": 70
},
"hsl": {
"h": 61.121,
"s": 43.32,
"l": 48.431
},
"oklch": {
"l": 0.73781,
"c": 0.12929,
"h": 110.2
},
"luminance": 0.41
}Semantic roles & 50–950 ramp
primary
#AFB146
secondary
#908FC3
accent
#55D357
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C