#AFB367#AFB367
#AFB367 is a light, moderate yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.099 H 111.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB367 |
|---|---|
| RGB | rgb(175, 179, 103) |
| HSL | hsl(63, 33%, 55%) |
| HSV | hsv(63, 42%, 70%) |
| CMYK | cmyk(2.2%, 0%, 42.5%, 29.8%) |
| CIE-LAB | lab(71.10, -12.84, 38.23) |
| CIE-LCH | lch(71.10, 40.33, 108.57°) |
| OKLab | oklab(74.64% -0.0358 0.0924) |
| OKLCH | oklch(74.64% 0.099 111.2) |
| XYZ | xyz(36.2480, 42.3341, 19.0911) |
| Luminance | 0.4233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.32
Khaki (survey)
#AAA662
ΔE00 4.13
Light Olive
#ACBF69
ΔE00 4.54
Tan Green
#A9BE70
ΔE00 4.85
Light Olive Green
#A4BE5C
ΔE00 5.94
Greenish Tan
#BCCB7A
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB367 #6B67B3
analogous
#B39167 #AFB367 #89B367
triadic
#AFB367 #67AFB3 #B367AF
tetradic
#AFB367 #67B391 #6B67B3 #B36789
square
#AFB367 #67B391 #6B67B3 #B36789
split-complementary
#AFB367 #6789B3 #9167B3
monochromatic
#686A35 #8F934A #AFB367 #C4C790 #DADCB9
Accessibility & contrast
On white
2.22
#AFB367 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#AFB367 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB367
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB367 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB367 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAD61
Deuteranopia (green-blind)
#BEAF6B
Tritanopia (blue-blind)
#B8ABA1
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #afb367; /* rgb */ color: rgb(175, 179, 103); /* oklch */ color: oklch(74.6% 0.099 111.2);
Tailwind
colors: {
custom: {
50: '#c8c994',
500: '#afb367',
950: '#000000',
},
}SCSS
$custom: #afb367; $custom-light: #c8c994; $custom-dark: #000000;
JSON
{
"hex": "#afb367",
"rgb": {
"r": 175,
"g": 179,
"b": 103
},
"hsl": {
"h": 63.158,
"s": 33.333,
"l": 55.294
},
"oklch": {
"l": 0.74638,
"c": 0.09913,
"h": 111.2
},
"luminance": 0.42333
}Semantic roles & 50–950 ramp
primary
#AFB367
secondary
#ADABCB
accent
#5EC964
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E