#646E15#646E15
#646E15 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.108 H 116.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #646E15 |
|---|---|
| RGB | rgb(100, 110, 21) |
| HSL | hsl(67, 68%, 26%) |
| HSV | hsv(67, 81%, 43%) |
| CMYK | cmyk(9.1%, 0%, 80.9%, 56.9%) |
| CIE-LAB | lab(44.11, -15.68, 44.48) |
| CIE-LCH | lch(44.11, 47.17, 109.42°) |
| OKLab | oklab(51.28% -0.0477 0.0974) |
| OKLCH | oklch(51.28% 0.109 116.1) |
| XYZ | xyz(10.9671, 13.9155, 2.8175) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.38
Mud Green
#606602
ΔE00 3.15
Olive (survey)
#6E750E
ΔE00 3.41
Browny Green
#6F6C0A
ΔE00 4.30
Brown Green
#706C11
ΔE00 4.44
Olive Drab
#6F7632
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646E15 #1F156E
analogous
#6E4B15 #646E15 #376E15
triadic
#646E15 #15646E #6E1564
tetradic
#646E15 #156E4B #1F156E #6E1537
square
#646E15 #156E4B #1F156E #6E1537
split-complementary
#646E15 #15376E #4B156E
monochromatic
#171A05 #353B0B #646E15 #93A11F #C1D529
Accessibility & contrast
On white
5.55
#646E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#646E15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646E15
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646E15 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#6B675D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646e15; /* rgb */ color: rgb(100, 110, 21); /* oklch */ color: oklch(51.3% 0.108 116.1);
Tailwind
colors: {
custom: {
50: '#93975b',
500: '#646e15',
950: '#000000',
},
}SCSS
$custom: #646e15; $custom-light: #93975b; $custom-dark: #000000;
JSON
{
"hex": "#646e15",
"rgb": {
"r": 100,
"g": 110,
"b": 21
},
"hsl": {
"h": 66.742,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.51284,
"c": 0.1085,
"h": 116.1
},
"luminance": 0.13915
}Semantic roles & 50–950 ramp
primary
#646E15
secondary
#463AA4
accent
#3DEB51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79