#647838#647838

#647838 is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.1% C 0.093 H 123.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#647838
RGBrgb(100, 120, 56)
HSLhsl(79, 36%, 35%)
HSVhsv(79, 53%, 47%)
CMYKcmyk(16.7%, 0%, 53.3%, 52.9%)
CIE-LABlab(47.53, -18.32, 32.41)
CIE-LCHlch(47.53, 37.23, 119.47°)
OKLaboklab(54.13% -0.0515 0.0769)
OKLCHoklch(54.13% 0.093 123.8)
XYZxyz(12.6858, 16.4277, 6.2432)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647838 #4C3878
analogous
#786C38 #647838 #447838
triadic
#647838 #386478 #783864
tetradic
#647838 #38786C #4C3878 #783844
square
#647838 #38786C #4C3878 #783844
split-complementary
#647838 #384478 #6C3878
monochromatic
#1E2511 #414E25 #647838 #87A24B #A4BC6F

Accessibility & contrast

On white

4.90
#647838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#647838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647838
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647838#FFFFFF#000000##FFFFFF
##6478381.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7132
Deuteranopia (green-blind)
#7B713C
Tritanopia (blue-blind)
#687369
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #647838;
/* rgb */ color: rgb(100, 120, 56);
/* oklch */ color: oklch(54.1% 0.093 123.8);
Tailwind
colors: {
  custom: {
    50: '#929f70',
    500: '#647838',
    950: '#000000',
  },
}
SCSS
$custom: #647838;
$custom-light: #929f70;
$custom-dark: #000000;
JSON
{
  "hex": "#647838",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 78.75,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.09258,
    "h": 123.8
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#647838
secondary
#7A67A5
accent
#5BCC7F
background
#F9F9F6
surface
#F1F2EC
border
#CBCCC7
text
#0D0E07
muted
#7E7E7A

Preview Lab

Preview with #647838

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

Preview Lab → · Contrast checker → · Palette generator →

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