#647B17#647B17

#647B17 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.6% C 0.123 H 122.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#647B17
RGBrgb(100, 123, 23)
HSLhsl(74, 68%, 29%)
HSVhsv(74, 81%, 48%)
CMYKcmyk(18.7%, 0%, 81.3%, 51.8%)
CIE-LABlab(48.18, -22.42, 47.54)
CIE-LCHlch(48.18, 52.56, 115.24°)
OKLaboklab(54.57% -0.0661 0.1043)
OKLCHoklch(54.57% 0.123 122.4)
XYZxyz(12.4933, 16.9371, 3.4214)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B17 #2E177B
analogous
#7B6017 #647B17 #327B17
triadic
#647B17 #17647B #7B1764
tetradic
#647B17 #177B60 #2E177B #7B1732
square
#647B17 #177B60 #2E177B #7B1732
split-complementary
#647B17 #17327B #60177B
monochromatic
#151A05 #3A470D #647B17 #8EAF21 #B3D933

Accessibility & contrast

On white

4.79
#647B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#647B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647B17
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647B17#FFFFFF#000000##FFFFFF
##647B171.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#6A7469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #647b17;
/* rgb */ color: rgb(100, 123, 23);
/* oklch */ color: oklch(54.6% 0.123 122.4);
Tailwind
colors: {
  custom: {
    50: '#93a15e',
    500: '#647b17',
    950: '#000000',
  },
}
SCSS
$custom: #647b17;
$custom-light: #93a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#647b17",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 73.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.12346,
    "h": 122.4
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#647B17
secondary
#583EB0
accent
#3CEB65
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #647B17

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

Preview Lab → · Contrast checker → · Palette generator →

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