#647217#647217

#647217 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.3% C 0.112 H 118.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#647217
RGBrgb(100, 114, 23)
HSLhsl(69, 66%, 27%)
HSVhsv(69, 80%, 45%)
CMYKcmyk(12.3%, 0%, 79.8%, 55.3%)
CIE-LABlab(45.37, -17.73, 44.96)
CIE-LCHlch(45.37, 48.33, 111.53°)
OKLaboklab(52.3% -0.0532 0.0988)
OKLCHoklch(52.3% 0.112 118.3)
XYZxyz(11.4278, 14.8059, 3.0663)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647217 #251772
analogous
#725317 #647217 #377217
triadic
#647217 #176472 #721764
tetradic
#647217 #177253 #251772 #721737
square
#647217 #177253 #251772 #721737
split-complementary
#647217 #173772 #531772
monochromatic
#161905 #373F0D #647217 #91A521 #BBD52E

Accessibility & contrast

On white

5.30
#647217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#647217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647217
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647217#FFFFFF#000000##FFFFFF
##6472171.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#6A6B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #647217;
/* rgb */ color: rgb(100, 114, 23);
/* oklch */ color: oklch(52.3% 0.112 118.3);
Tailwind
colors: {
  custom: {
    50: '#939a5c',
    500: '#647217',
    950: '#000000',
  },
}
SCSS
$custom: #647217;
$custom-light: #939a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#647217",
  "rgb": {
    "r": 100,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 69.231,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.11224,
    "h": 118.3
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#647217
secondary
#4E3DA8
accent
#3EE959
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647217

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

Preview Lab → · Contrast checker → · Palette generator →

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