#647F12#647F12

#647F12 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.6% C 0.131 H 123.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#647F12
RGBrgb(100, 127, 18)
HSLhsl(75, 75%, 28%)
HSVhsv(75, 86%, 50%)
CMYKcmyk(21.3%, 0%, 85.8%, 50.2%)
CIE-LABlab(49.41, -24.64, 50.11)
CIE-LCHlch(49.41, 55.84, 116.19°)
OKLaboklab(55.56% -0.0725 0.1089)
OKLCHoklch(55.56% 0.131 123.7)
XYZxyz(12.9543, 17.9316, 3.3508)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647F12 #2D127F
analogous
#7F6312 #647F12 #2E7F12
triadic
#647F12 #12647F #7F1264
tetradic
#647F12 #127F63 #2D127F #7F122E
square
#647F12 #127F63 #2D127F #7F122E
split-complementary
#647F12 #122E7F #63127F
monochromatic
#151B04 #3A490A #647F12 #8EB51A #B4E12B

Accessibility & contrast

On white

4.58
#647F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#647F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647F12
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647F12#FFFFFF#000000##000000
##647F121.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#69786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #647f12;
/* rgb */ color: rgb(100, 127, 18);
/* oklch */ color: oklch(55.6% 0.131 123.7);
Tailwind
colors: {
  custom: {
    50: '#94a45c',
    500: '#647f12',
    950: '#000000',
  },
}
SCSS
$custom: #647f12;
$custom-light: #94a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#647f12",
  "rgb": {
    "r": 100,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 74.862,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.13079,
    "h": 123.7
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#647F12
secondary
#5738B5
accent
#36F265
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #647F12

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

Preview Lab → · Contrast checker → · Palette generator →

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