#4E6211#4E6211

#4E6211 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.105 H 123.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4E6211
RGBrgb(78, 98, 17)
HSLhsl(75, 70%, 23%)
HSVhsv(75, 83%, 38%)
CMYKcmyk(20.4%, 0%, 82.7%, 61.6%)
CIE-LABlab(38.54, -19.59, 40.10)
CIE-LCHlch(38.54, 44.63, 116.04°)
OKLaboklab(46.35% -0.0575 0.0882)
OKLCHoklch(46.35% 0.105 123.1)
XYZxyz(7.6108, 10.3955, 2.1358)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6211 #251162
analogous
#624E11 #4E6211 #256211
triadic
#4E6211 #114E62 #62114E
tetradic
#4E6211 #11624E #251162 #621125
square
#4E6211 #11624E #251162 #621125
split-complementary
#4E6211 #112562 #4E1162
monochromatic
#151A05 #242E08 #4E6211 #78961A #A1CA23

Accessibility & contrast

On white

6.82
#4E6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6211
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6211#FFFFFF#000000##FFFFFF
##4E62111.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6211;
/* rgb */ color: rgb(78, 98, 17);
/* oklch */ color: oklch(46.4% 0.105 123.1);
Tailwind
colors: {
  custom: {
    50: '#828e57',
    500: '#4e6211',
    950: '#000000',
  },
}
SCSS
$custom: #4e6211;
$custom-light: #828e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6211",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 74.815,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.10527,
    "h": 123.1
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#4E6211
secondary
#4E349A
accent
#3BED67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E6211

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

Preview Lab → · Contrast checker → · Palette generator →

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