#647D17#647D17

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

Color values

HEX#647D17
RGBrgb(100, 125, 23)
HSLhsl(75, 69%, 29%)
HSVhsv(75, 82%, 49%)
CMYKcmyk(20%, 0%, 81.6%, 51%)
CIE-LABlab(48.81, -23.43, 48.12)
CIE-LCHlch(48.81, 53.52, 115.96°)
OKLaboklab(55.07% -0.0688 0.1055)
OKLCHoklch(55.07% 0.126 123.1)
XYZxyz(12.7440, 17.4383, 3.5050)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647D17 #30177D
analogous
#7D6317 #647D17 #317D17
triadic
#647D17 #17647D #7D1764
tetradic
#647D17 #177D63 #30177D #7D1731
square
#647D17 #177D63 #30177D #7D1731
split-complementary
#647D17 #17317D #63177D
monochromatic
#151A05 #3B490D #647D17 #8DB121 #B1DA35

Accessibility & contrast

On white

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

On black

4.49
#647D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##647D17#FFFFFF#000000##FFFFFF
##647D171.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #647d17;
/* rgb */ color: rgb(100, 125, 23);
/* oklch */ color: oklch(55.1% 0.126 123.1);
Tailwind
colors: {
  custom: {
    50: '#93a25e',
    500: '#647d17',
    950: '#000000',
  },
}
SCSS
$custom: #647d17;
$custom-light: #93a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#647d17",
  "rgb": {
    "r": 100,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 74.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.12597,
    "h": 123.1
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#647D17
secondary
#5A3EB2
accent
#3CEC67
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #647D17

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

Preview Lab → · Contrast checker → · Palette generator →

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