#646E12#646E12
#646E12 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.110 H 116.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #646E12 |
|---|---|
| RGB | rgb(100, 110, 18) |
| HSL | hsl(67, 72%, 25%) |
| HSV | hsv(67, 84%, 43%) |
| CMYK | cmyk(9.1%, 0%, 83.6%, 56.9%) |
| CIE-LAB | lab(44.10, -15.81, 45.44) |
| CIE-LCH | lch(44.10, 48.11, 109.19°) |
| OKLab | oklab(51.27% -0.0483 0.0989) |
| OKLCH | oklch(51.27% 0.11 116.1) |
| XYZ | xyz(10.9409, 13.9050, 2.6797) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.18
Mud Green
#606602
ΔE00 3.04
Olive (survey)
#6E750E
ΔE00 3.26
Browny Green
#6F6C0A
ΔE00 4.18
Brown Green
#706C11
ΔE00 4.35
Murky Green
#6C7A0E
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646E12 #1C126E
analogous
#6E4A12 #646E12 #366E12
triadic
#646E12 #12646E #6E1264
tetradic
#646E12 #126E4A #1C126E #6E1236
square
#646E12 #126E4A #1C126E #6E1236
split-complementary
#646E12 #12366E #4A126E
monochromatic
#181A04 #343909 #646E12 #94A31B #C4D723
Accessibility & contrast
On white
5.55
#646E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#646E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646E12
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646E12 | 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)
#76691B
Tritanopia (blue-blind)
#6B675D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646e12; /* rgb */ color: rgb(100, 110, 18); /* oklch */ color: oklch(51.3% 0.110 116.1);
Tailwind
colors: {
custom: {
50: '#93975a',
500: '#646e12',
950: '#000000',
},
}SCSS
$custom: #646e12; $custom-light: #93975a; $custom-dark: #000000;
JSON
{
"hex": "#646e12",
"rgb": {
"r": 100,
"g": 110,
"b": 18
},
"hsl": {
"h": 66.522,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.51267,
"c": 0.11008,
"h": 116.1
},
"luminance": 0.13905
}Semantic roles & 50–950 ramp
primary
#646E12
secondary
#4337A5
accent
#39EF4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79