#647F17#647F17

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

Color values

HEX#647F17
RGBrgb(100, 127, 23)
HSLhsl(76, 69%, 29%)
HSVhsv(76, 82%, 50%)
CMYKcmyk(21.3%, 0%, 81.9%, 50.2%)
CIE-LABlab(49.44, -24.43, 48.69)
CIE-LCHlch(49.44, 54.47, 116.65°)
OKLaboklab(55.58% -0.0716 0.1067)
OKLCHoklch(55.58% 0.128 123.9)
XYZxyz(12.9997, 17.9498, 3.5902)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647F17 #32177F
analogous
#7F6617 #647F17 #307F17
triadic
#647F17 #17647F #7F1764
tetradic
#647F17 #177F66 #32177F #7F1730
square
#647F17 #177F66 #32177F #7F1730
split-complementary
#647F17 #17307F #66177F
monochromatic
#141A05 #3B4B0E #647F17 #8DB320 #B0DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##647F17#FFFFFF#000000##000000
##647F171.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)
#837522
Tritanopia (blue-blind)
#69786C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #647f17;
/* rgb */ color: rgb(100, 127, 23);
/* oklch */ color: oklch(55.6% 0.128 123.9);
Tailwind
colors: {
  custom: {
    50: '#94a45e',
    500: '#647f17',
    950: '#000000',
  },
}
SCSS
$custom: #647f17;
$custom-light: #94a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#647f17",
  "rgb": {
    "r": 100,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 75.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.12849,
    "h": 123.9
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#647F17
secondary
#5D3EB4
accent
#3CEC69
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #647F17

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

Preview Lab → · Contrast checker → · Palette generator →

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