#4E6D15#4E6D15

#4E6D15 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.118 H 127.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E6D15
RGBrgb(78, 109, 21)
HSLhsl(81, 68%, 25%)
HSVhsv(81, 81%, 43%)
CMYKcmyk(28.4%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.17, -25.01, 42.10)
CIE-LCHlch(42.17, 48.96, 120.71°)
OKLaboklab(49.3% -0.0719 0.0931)
OKLCHoklch(49.3% 0.118 127.7)
XYZxyz(8.7459, 12.6109, 2.6827)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D15 #34156D
analogous
#6D6015 #4E6D15 #226D15
triadic
#4E6D15 #154E6D #6D154E
tetradic
#4E6D15 #156D60 #34156D #6D1522
square
#4E6D15 #156D60 #34156D #6D1522
split-complementary
#4E6D15 #15226D #60156D
monochromatic
#121A05 #293A0B #4E6D15 #73A01F #97D429

Accessibility & contrast

On white

5.96
#4E6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D15
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D15#FFFFFF#000000##FFFFFF
##4E6D151.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#51685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d15;
/* rgb */ color: rgb(78, 109, 21);
/* oklch */ color: oklch(49.3% 0.118 127.7);
Tailwind
colors: {
  custom: {
    50: '#83975a',
    500: '#4e6d15',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d15;
$custom-light: #83975a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d15",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 81.136,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.11764,
    "h": 127.7
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#4E6D15
secondary
#5F3AA3
accent
#3DEB7A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6D15

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

Preview Lab → · Contrast checker → · Palette generator →

#4E6D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva