#4E6210#4E6210

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

Color values

HEX#4E6210
RGBrgb(78, 98, 16)
HSLhsl(75, 72%, 22%)
HSVhsv(75, 84%, 38%)
CMYKcmyk(20.4%, 0%, 83.7%, 61.6%)
CIE-LABlab(38.54, -19.64, 40.43)
CIE-LCHlch(38.54, 44.95, 115.91°)
OKLaboklab(46.35% -0.0577 0.0887)
OKLCHoklch(46.35% 0.106 123.1)
XYZxyz(7.6032, 10.3924, 2.0955)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6210 #241062
analogous
#624D10 #4E6210 #256210
triadic
#4E6210 #104E62 #62104E
tetradic
#4E6210 #10624D #241062 #621025
square
#4E6210 #10624D #241062 #621025
split-complementary
#4E6210 #102562 #4D1062
monochromatic
#151A04 #242D07 #4E6210 #789719 #A2CB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6210#FFFFFF#000000##FFFFFF
##4E62101.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)
#665B18
Tritanopia (blue-blind)
#525D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6210;
/* rgb */ color: rgb(78, 98, 16);
/* oklch */ color: oklch(46.3% 0.106 123.1);
Tailwind
colors: {
  custom: {
    50: '#828e56',
    500: '#4e6210',
    950: '#000000',
  },
}
SCSS
$custom: #4e6210;
$custom-light: #828e56;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6210",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 74.634,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.10581,
    "h": 123.1
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#4E6210
secondary
#4C339B
accent
#39EF65
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E6210

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

Preview Lab → · Contrast checker → · Palette generator →

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