#647818#647818

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

Color values

HEX#647818
RGBrgb(100, 120, 24)
HSLhsl(73, 67%, 28%)
HSVhsv(73, 80%, 47%)
CMYKcmyk(16.7%, 0%, 80%, 52.9%)
CIE-LABlab(47.25, -20.83, 46.36)
CIE-LCHlch(47.25, 50.82, 114.20°)
OKLaboklab(53.81% -0.0616 0.102)
OKLCHoklch(53.81% 0.119 121.2)
XYZxyz(12.1371, 16.2082, 3.3531)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647818 #2C1878
analogous
#785C18 #647818 #347818
triadic
#647818 #186478 #781864
tetradic
#647818 #18785C #2C1878 #781834
square
#647818 #18785C #2C1878 #781834
split-complementary
#647818 #183478 #5C1878
monochromatic
#151A05 #39450E #647818 #8EAB22 #B5D634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##647818#FFFFFF#000000##FFFFFF
##6478181.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: #647818;
/* rgb */ color: rgb(100, 120, 24);
/* oklch */ color: oklch(53.8% 0.119 121.2);
Tailwind
colors: {
  custom: {
    50: '#939f5e',
    500: '#647818',
    950: '#000000',
  },
}
SCSS
$custom: #647818;
$custom-light: #939f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#647818",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 72.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.11915,
    "h": 121.2
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#647818
secondary
#563FAD
accent
#3EEA62
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #647818

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

Preview Lab → · Contrast checker → · Palette generator →

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