#647817#647817

#647817 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.8% C 0.120 H 121.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#647817
RGBrgb(100, 120, 23)
HSLhsl(72, 68%, 28%)
HSVhsv(72, 81%, 47%)
CMYKcmyk(16.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(47.24, -20.88, 46.68)
CIE-LCHlch(47.24, 51.14, 114.09°)
OKLaboklab(53.81% -0.0619 0.1025)
OKLCHoklch(53.81% 0.12 121.1)
XYZxyz(12.1269, 16.2041, 3.2993)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647817 #2B1778
analogous
#785B17 #647817 #337817
triadic
#647817 #176478 #781764
tetradic
#647817 #17785B #2B1778 #781733
square
#647817 #17785B #2B1778 #781733
split-complementary
#647817 #173378 #5B1778
monochromatic
#151A05 #39450D #647817 #8FAB21 #B5D832

Accessibility & contrast

On white

4.95
#647817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#647817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647817
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647817#FFFFFF#000000##FFFFFF
##6478171.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#6A7166
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #647817;
/* rgb */ color: rgb(100, 120, 23);
/* oklch */ color: oklch(53.8% 0.120 121.1);
Tailwind
colors: {
  custom: {
    50: '#939f5d',
    500: '#647817',
    950: '#000000',
  },
}
SCSS
$custom: #647817;
$custom-light: #939f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#647817",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 72.371,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.11969,
    "h": 121.1
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#647817
secondary
#553EAD
accent
#3DEB61
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #647817

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

Preview Lab → · Contrast checker → · Palette generator →

#647817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva