#647C12#647C12

#647C12 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.8% C 0.127 H 122.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#647C12
RGBrgb(100, 124, 18)
HSLhsl(74, 75%, 28%)
HSVhsv(74, 85%, 49%)
CMYKcmyk(19.4%, 0%, 85.5%, 51.4%)
CIE-LABlab(48.47, -23.13, 49.29)
CIE-LCHlch(48.47, 54.45, 115.14°)
OKLaboklab(54.79% -0.0684 0.1071)
OKLCHoklch(54.79% 0.127 122.6)
XYZxyz(12.5726, 17.1683, 3.2236)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647C12 #2A127C
analogous
#7C5F12 #647C12 #2F7C12
triadic
#647C12 #12647C #7C1264
tetradic
#647C12 #127C5F #2A127C #7C122F
square
#647C12 #127C5F #2A127C #7C122F
split-complementary
#647C12 #122F7C #5F127C
monochromatic
#161B04 #39470A #647C12 #8FB11A #B6E029

Accessibility & contrast

On white

4.74
#647C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#647C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647C12
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647C12#FFFFFF#000000##FFFFFF
##647C121.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#6A7569
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #647c12;
/* rgb */ color: rgb(100, 124, 18);
/* oklch */ color: oklch(54.8% 0.127 122.6);
Tailwind
colors: {
  custom: {
    50: '#94a25c',
    500: '#647c12',
    950: '#000000',
  },
}
SCSS
$custom: #647c12;
$custom-light: #94a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#647c12",
  "rgb": {
    "r": 100,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 73.585,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.12709,
    "h": 122.6
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#647C12
secondary
#5338B2
accent
#37F161
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0F04
muted
#7E7E79

Preview Lab

Preview with #647C12

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

Preview Lab → · Contrast checker → · Palette generator →

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