#4E6011#4E6011

#4E6011 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.103 H 122.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4E6011
RGBrgb(78, 96, 17)
HSLhsl(74, 70%, 22%)
HSVhsv(74, 82%, 38%)
CMYKcmyk(18.7%, 0%, 82.3%, 62.4%)
CIE-LABlab(37.89, -18.53, 39.50)
CIE-LCHlch(37.89, 43.63, 115.13°)
OKLaboklab(45.83% -0.0546 0.0869)
OKLCHoklch(45.83% 0.103 122.1)
XYZxyz(7.4260, 10.0259, 2.0742)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6011 #231160
analogous
#604B11 #4E6011 #266011
triadic
#4E6011 #114E60 #60114E
tetradic
#4E6011 #11604B #231160 #601126
square
#4E6011 #11604B #231160 #601126
split-complementary
#4E6011 #112660 #4B1160
monochromatic
#151A05 #242C08 #4E6011 #78941A #A2C823

Accessibility & contrast

On white

6.99
#4E6011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6011
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6011#FFFFFF#000000##FFFFFF
##4E60111.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#535B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6011;
/* rgb */ color: rgb(78, 96, 17);
/* oklch */ color: oklch(45.8% 0.103 122.1);
Tailwind
colors: {
  custom: {
    50: '#828d57',
    500: '#4e6011',
    950: '#000000',
  },
}
SCSS
$custom: #4e6011;
$custom-light: #828d57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6011",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 73.671,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.10262,
    "h": 122.1
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#4E6011
secondary
#4B3499
accent
#3BED64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E6011

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

Preview Lab → · Contrast checker → · Palette generator →

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