#647218#647218

#647218 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#647218
RGBrgb(100, 114, 24)
HSLhsl(69, 65%, 27%)
HSVhsv(69, 79%, 45%)
CMYKcmyk(12.3%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.37, -17.68, 44.61)
CIE-LCHlch(45.37, 47.99, 111.62°)
OKLaboklab(52.3% -0.053 0.0983)
OKLCHoklch(52.3% 0.112 118.3)
XYZxyz(11.4380, 14.8100, 3.1200)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647218 #261872
analogous
#725318 #647218 #377218
triadic
#647218 #186472 #721864
tetradic
#647218 #187253 #261872 #721837
square
#647218 #187253 #261872 #721837
split-complementary
#647218 #183772 #531872
monochromatic
#161905 #383F0D #647218 #90A523 #BAD431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##647218#FFFFFF#000000##FFFFFF
##6472181.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)
#7A6B03
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#6A6B61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #647218;
/* rgb */ color: rgb(100, 114, 24);
/* oklch */ color: oklch(52.3% 0.112 118.3);
Tailwind
colors: {
  custom: {
    50: '#939a5d',
    500: '#647218',
    950: '#000000',
  },
}
SCSS
$custom: #647218;
$custom-light: #939a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#647218",
  "rgb": {
    "r": 100,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 69.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.11166,
    "h": 118.3
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#647218
secondary
#4F3EA7
accent
#40E85A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #647218

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

Preview Lab → · Contrast checker → · Palette generator →

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