#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
RGBrgb(100, 110, 18)
HSLhsl(67, 72%, 25%)
HSVhsv(67, 84%, 43%)
CMYKcmyk(9.1%, 0%, 83.6%, 56.9%)
CIE-LABlab(44.10, -15.81, 45.44)
CIE-LCHlch(44.10, 48.11, 109.19°)
OKLaboklab(51.27% -0.0483 0.0989)
OKLCHoklch(51.27% 0.11 116.1)
XYZxyz(10.9409, 13.9050, 2.6797)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##646E121.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.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

Preview Lab

Preview with #646E12

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#646E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva