#4E6020#4E6020

#4E6020 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.0% C 0.091 H 123.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4E6020
RGBrgb(78, 96, 32)
HSLhsl(77, 50%, 25%)
HSVhsv(77, 67%, 38%)
CMYKcmyk(18.7%, 0%, 66.7%, 62.4%)
CIE-LABlab(38.00, -17.50, 33.28)
CIE-LCHlch(38.00, 37.60, 117.73°)
OKLaboklab(45.95% -0.0503 0.0764)
OKLCHoklch(45.95% 0.091 123.3)
XYZxyz(7.5855, 10.0897, 2.9141)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6020 #322060
analogous
#605220 #4E6020 #2E6020
triadic
#4E6020 #204E60 #60204E
tetradic
#4E6020 #206052 #322060 #60202E
square
#4E6020 #206052 #322060 #60202E
split-complementary
#4E6020 #202E60 #522060
monochromatic
#131708 #293211 #4E6020 #738E2F #99BC3F

Accessibility & contrast

On white

6.96
#4E6020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E6020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6020
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6020#FFFFFF#000000##FFFFFF
##4E60201.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A18
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#525B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6020;
/* rgb */ color: rgb(78, 96, 32);
/* oklch */ color: oklch(46.0% 0.091 123.3);
Tailwind
colors: {
  custom: {
    50: '#818d5f',
    500: '#4e6020',
    950: '#000000',
  },
}
SCSS
$custom: #4e6020;
$custom-light: #818d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6020",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 76.875,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.09145,
    "h": 123.3
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#4E6020
secondary
#5D4794
accent
#4EDA75
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6020

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

Preview Lab → · Contrast checker → · Palette generator →

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