#4E6015#4E6015

#4E6015 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.100 H 122.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E6015
RGBrgb(78, 96, 21)
HSLhsl(74, 64%, 23%)
HSVhsv(74, 78%, 38%)
CMYKcmyk(18.7%, 0%, 78.1%, 62.4%)
CIE-LABlab(37.91, -18.31, 38.04)
CIE-LCHlch(37.91, 42.21, 115.70°)
OKLaboklab(45.85% -0.0536 0.0846)
OKLCHoklch(45.85% 0.1 122.4)
XYZxyz(7.4602, 10.0396, 2.2541)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6015 #271560
analogous
#604C15 #4E6015 #286015
triadic
#4E6015 #154E60 #60154E
tetradic
#4E6015 #15604C #271560 #601528
square
#4E6015 #15604C #271560 #601528
split-complementary
#4E6015 #152860 #4C1560
monochromatic
#141905 #252E0A #4E6015 #779220 #A0C42B

Accessibility & contrast

On white

6.98
#4E6015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6015
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6015#FFFFFF#000000##FFFFFF
##4E60151.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#525B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6015;
/* rgb */ color: rgb(78, 96, 21);
/* oklch */ color: oklch(45.9% 0.100 122.4);
Tailwind
colors: {
  custom: {
    50: '#828d59',
    500: '#4e6015',
    950: '#000000',
  },
}
SCSS
$custom: #4e6015;
$custom-light: #828d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6015",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 74.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.10014,
    "h": 122.4
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#4E6015
secondary
#503A97
accent
#41E769
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E6015

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

Preview Lab → · Contrast checker → · Palette generator →

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