#646E18#646E18
#646E18 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.107 H 116.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #646E18 |
|---|---|
| RGB | rgb(100, 110, 24) |
| HSL | hsl(67, 64%, 26%) |
| HSV | hsv(67, 78%, 43%) |
| CMYK | cmyk(9.1%, 0%, 78.2%, 56.9%) |
| CIE-LAB | lab(44.13, -15.54, 43.45) |
| CIE-LCH | lch(44.13, 46.14, 109.68°) |
| OKLab | oklab(51.3% -0.0471 0.0958) |
| OKLCH | oklch(51.3% 0.107 116.2) |
| XYZ | xyz(10.9966, 13.9273, 2.9729) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.63
Mud Green
#606602
ΔE00 3.30
Olive (survey)
#6E750E
ΔE00 3.59
Olive Drab
#6F7632
ΔE00 4.40
Browny Green
#6F6C0A
ΔE00 4.46
Muddy Green
#657432
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646E18 #22186E
analogous
#6E4D18 #646E18 #396E18
triadic
#646E18 #18646E #6E1864
tetradic
#646E18 #186E4D #22186E #6E1839
square
#646E18 #186E4D #22186E #6E1839
split-complementary
#646E18 #18396E #4D186E
monochromatic
#171905 #363C0D #646E18 #92A023 #BFD22F
Accessibility & contrast
On white
5.55
#646E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#646E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646E18
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646E18 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646e18; /* rgb */ color: rgb(100, 110, 24); /* oklch */ color: oklch(51.3% 0.107 116.2);
Tailwind
colors: {
custom: {
50: '#93975c',
500: '#646e18',
950: '#000000',
},
}SCSS
$custom: #646e18; $custom-light: #93975c; $custom-dark: #000000;
JSON
{
"hex": "#646e18",
"rgb": {
"r": 100,
"g": 110,
"b": 24
},
"hsl": {
"h": 66.977,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.51303,
"c": 0.10675,
"h": 116.2
},
"luminance": 0.13927
}Semantic roles & 50–950 ramp
primary
#646E18
secondary
#4A3EA4
accent
#41E754
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79