#646E1B#646E1B
#646E1B is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.105 H 116.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #646E1B |
|---|---|
| RGB | rgb(100, 110, 27) |
| HSL | hsl(67, 61%, 27%) |
| HSV | hsv(67, 75%, 43%) |
| CMYK | cmyk(9.1%, 0%, 75.5%, 56.9%) |
| CIE-LAB | lab(44.15, -15.38, 42.33) |
| CIE-LCH | lch(44.15, 45.04, 109.96°) |
| OKLab | oklab(51.32% -0.0463 0.094) |
| OKLCH | oklch(51.32% 0.105 116.2) |
| XYZ | xyz(11.0296, 13.9405, 3.1464) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.92
Mud Green
#606602
ΔE00 3.50
Olive (survey)
#6E750E
ΔE00 3.82
Muddy Green
#657432
ΔE00 4.15
Olive Drab
#6F7632
ΔE00 4.17
Browny Green
#6F6C0A
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646E1B #251B6E
analogous
#6E4F1B #646E1B #3B6E1B
triadic
#646E1B #1B646E #6E1B64
tetradic
#646E1B #1B6E4F #251B6E #6E1B3B
square
#646E1B #1B6E4F #251B6E #6E1B3B
split-complementary
#646E1B #1B3B6E #4F1B6E
monochromatic
#161906 #373D0F #646E1B #919F27 #BBCE36
Accessibility & contrast
On white
5.54
#646E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#646E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646E1B
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646E1B | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76680C
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646e1b; /* rgb */ color: rgb(100, 110, 27); /* oklch */ color: oklch(51.3% 0.105 116.2);
Tailwind
colors: {
custom: {
50: '#93975e',
500: '#646e1b',
950: '#000000',
},
}SCSS
$custom: #646e1b; $custom-light: #93975e; $custom-dark: #000000;
JSON
{
"hex": "#646e1b",
"rgb": {
"r": 100,
"g": 110,
"b": 27
},
"hsl": {
"h": 67.229,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.51324,
"c": 0.10482,
"h": 116.2
},
"luminance": 0.1394
}Semantic roles & 50–950 ramp
primary
#646E1B
secondary
#4E42A3
accent
#44E457
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79