#647E12#647E12

#647E12 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.3% C 0.130 H 123.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#647E12
RGBrgb(100, 126, 18)
HSLhsl(74, 75%, 28%)
HSVhsv(74, 86%, 49%)
CMYKcmyk(20.6%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.10, -24.14, 49.83)
CIE-LCHlch(49.10, 55.37, 115.85°)
OKLaboklab(55.3% -0.0711 0.1083)
OKLCHoklch(55.3% 0.13 123.3)
XYZxyz(12.8257, 17.6746, 3.3080)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647E12 #2C127E
analogous
#7E6212 #647E12 #2E7E12
triadic
#647E12 #12647E #7E1264
tetradic
#647E12 #127E62 #2C127E #7E122E
square
#647E12 #127E62 #2C127E #7E122E
split-complementary
#647E12 #122E7E #62127E
monochromatic
#151B04 #39480A #647E12 #8FB41A #B5E12A

Accessibility & contrast

On white

4.63
#647E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#647E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #647E12
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647E12#FFFFFF#000000##FFFFFF
##647E121.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#82751E
Tritanopia (blue-blind)
#6A776B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #647e12;
/* rgb */ color: rgb(100, 126, 18);
/* oklch */ color: oklch(55.3% 0.130 123.3);
Tailwind
colors: {
  custom: {
    50: '#94a35c',
    500: '#647e12',
    950: '#000000',
  },
}
SCSS
$custom: #647e12;
$custom-light: #94a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#647e12",
  "rgb": {
    "r": 100,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 74.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.12956,
    "h": 123.3
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

primary
#647E12
secondary
#5638B4
accent
#36F263
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #647E12

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

Preview Lab → · Contrast checker → · Palette generator →

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