#647D12#647D12

#647D12 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.128 H 122.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#647D12
RGBrgb(100, 125, 18)
HSLhsl(74, 75%, 28%)
HSVhsv(74, 86%, 49%)
CMYKcmyk(20%, 0%, 85.6%, 51%)
CIE-LABlab(48.79, -23.64, 49.56)
CIE-LCHlch(48.79, 54.91, 115.50°)
OKLaboklab(55.05% -0.0698 0.1077)
OKLCHoklch(55.05% 0.128 122.9)
XYZxyz(12.6985, 17.4202, 3.2656)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647D12 #2B127D
analogous
#7D6012 #647D12 #2E7D12
triadic
#647D12 #12647D #7D1264
tetradic
#647D12 #127D60 #2B127D #7D122E
square
#647D12 #127D60 #2B127D #7D122E
split-complementary
#647D12 #122E7D #60127D
monochromatic
#151B04 #39480A #647D12 #8FB21A #B5E029

Accessibility & contrast

On white

4.68
#647D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#647D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647D12
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647D12#FFFFFF#000000##FFFFFF
##647D121.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#6A766A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #647d12;
/* rgb */ color: rgb(100, 125, 18);
/* oklch */ color: oklch(55.0% 0.128 122.9);
Tailwind
colors: {
  custom: {
    50: '#94a25c',
    500: '#647d12',
    950: '#000000',
  },
}
SCSS
$custom: #647d12;
$custom-light: #94a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#647d12",
  "rgb": {
    "r": 100,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 74.019,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.12832,
    "h": 122.9
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#647D12
secondary
#5538B3
accent
#36F162
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F04
muted
#7E7F79

Preview Lab

Preview with #647D12

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

Preview Lab → · Contrast checker → · Palette generator →

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