#AFB746#AFB746
#AFB746 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.136 H 113.0°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB746 |
|---|---|
| RGB | rgb(175, 183, 70) |
| HSL | hsl(64, 45%, 50%) |
| HSV | hsv(64, 62%, 72%) |
| CMYK | cmyk(4.4%, 0%, 61.7%, 28.2%) |
| CIE-LAB | lab(71.84, -17.81, 54.79) |
| CIE-LCH | lch(71.84, 57.61, 108.01°) |
| OKLab | oklab(75.11% -0.0532 0.1252) |
| OKLCH | oklch(75.11% 0.136 113) |
| XYZ | xyz(35.7191, 43.4238, 12.2932) |
| Luminance | 0.4342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.30
Mustard Green
#A8B504
ΔE00 4.46
Snot
#ACBB0D
ΔE00 4.55
Sick Green
#9DB92C
ΔE00 4.57
Pea
#A4BF20
ΔE00 5.05
Puke Green
#9AAE07
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB746 #4E46B7
analogous
#B78746 #AFB746 #76B746
triadic
#AFB746 #46AFB7 #B746AF
tetradic
#AFB746 #46B787 #4E46B7 #B74676
square
#AFB746 #46B787 #4E46B7 #B74676
split-complementary
#AFB746 #4676B7 #8746B7
monochromatic
#5A5E24 #858B35 #AFB746 #C3C971 #D6DA9E
Accessibility & contrast
On white
2.17
#AFB746 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#AFB746 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB746
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB746 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB746 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF38
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #afb746; /* rgb */ color: rgb(175, 183, 70); /* oklch */ color: oklch(75.1% 0.136 113.0);
Tailwind
colors: {
custom: {
50: '#c9cc7e',
500: '#afb746',
950: '#000000',
},
}SCSS
$custom: #afb746; $custom-light: #c9cc7e; $custom-dark: #000000;
JSON
{
"hex": "#afb746",
"rgb": {
"r": 175,
"g": 183,
"b": 70
},
"hsl": {
"h": 64.248,
"s": 44.664,
"l": 49.608
},
"oklch": {
"l": 0.75111,
"c": 0.136,
"h": 113
},
"luminance": 0.43423
}Semantic roles & 50–950 ramp
primary
#AFB746
secondary
#9693C6
accent
#53D45D
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C