#646D12#646D12

#646D12 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.0% C 0.109 H 115.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#646D12
RGBrgb(100, 109, 18)
HSLhsl(66, 72%, 25%)
HSVhsv(66, 83%, 43%)
CMYKcmyk(8.3%, 0%, 83.5%, 57.3%)
CIE-LABlab(43.79, -15.27, 45.16)
CIE-LCHlch(43.79, 47.67, 108.68°)
OKLaboklab(51.02% -0.0468 0.0983)
OKLCHoklch(51.02% 0.109 115.5)
XYZxyz(10.8337, 13.6905, 2.6440)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D12 #1B126D
analogous
#6D4912 #646D12 #376D12
triadic
#646D12 #12646D #6D1264
tetradic
#646D12 #126D49 #1B126D #6D1237
square
#646D12 #126D49 #1B126D #6D1237
split-complementary
#646D12 #12376D #49126D
monochromatic
#181A04 #343809 #646D12 #94A21B #C4D623

Accessibility & contrast

On white

5.62
#646D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D12
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D12#FFFFFF#000000##FFFFFF
##646D121.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#6B665C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646d12;
/* rgb */ color: rgb(100, 109, 18);
/* oklch */ color: oklch(51.0% 0.109 115.5);
Tailwind
colors: {
  custom: {
    50: '#93965a',
    500: '#646d12',
    950: '#000000',
  },
}
SCSS
$custom: #646d12;
$custom-light: #93965a;
$custom-dark: #000000;
JSON
{
  "hex": "#646d12",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 65.934,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.10889,
    "h": 115.5
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#646D12
secondary
#4137A4
accent
#39EE4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D12

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

Preview Lab → · Contrast checker → · Palette generator →

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