#AFB246#AFB246
#AFB246 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.130 H 110.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB246 |
|---|---|
| RGB | rgb(175, 178, 70) |
| HSL | hsl(62, 44%, 49%) |
| HSV | hsv(62, 61%, 70%) |
| CMYK | cmyk(1.7%, 0%, 60.7%, 30.2%) |
| CIE-LAB | lab(70.45, -15.27, 53.29) |
| CIE-LCH | lch(70.45, 55.43, 105.99°) |
| OKLab | oklab(74% -0.0461 0.122) |
| OKLCH | oklch(74% 0.13 110.7) |
| XYZ | xyz(34.7061, 41.3978, 11.9555) |
| Luminance | 0.4140 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.99
Vomit
#A2A415
ΔE00 5.28
Booger
#9BB53C
ΔE00 5.29
Snot
#ACBB0D
ΔE00 5.49
Puke Green
#9AAE07
ΔE00 5.59
Darkkhaki
#BDB76B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB246 #4946B2
analogous
#B27F46 #AFB246 #79B246
triadic
#AFB246 #46AFB2 #B246AF
tetradic
#AFB246 #46B27F #4946B2 #B24679
square
#AFB246 #46B27F #4946B2 #B24679
split-complementary
#AFB246 #4679B2 #7F46B2
monochromatic
#595A23 #848635 #AFB246 #C4C66F #D6D89B
Accessibility & contrast
On white
2.26
#AFB246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#AFB246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB246
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB246 | 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)
#BFAB39
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#BAA89B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb246; /* rgb */ color: rgb(175, 178, 70); /* oklch */ color: oklch(74.0% 0.130 110.7);
Tailwind
colors: {
custom: {
50: '#c9c87e',
500: '#afb246',
950: '#000000',
},
}SCSS
$custom: #afb246; $custom-light: #c9c87e; $custom-dark: #000000;
JSON
{
"hex": "#afb246",
"rgb": {
"r": 175,
"g": 178,
"b": 70
},
"hsl": {
"h": 61.667,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.74002,
"c": 0.13039,
"h": 110.7
},
"luminance": 0.41397
}Semantic roles & 50–950 ramp
primary
#AFB246
secondary
#9190C4
accent
#55D358
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C