#4E6022#4E6022

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

Color values

HEX#4E6022
RGBrgb(78, 96, 34)
HSLhsl(77, 48%, 25%)
HSVhsv(77, 65%, 38%)
CMYKcmyk(18.7%, 0%, 64.6%, 62.4%)
CIE-LABlab(38.02, -17.32, 32.33)
CIE-LCHlch(38.02, 36.67, 118.18°)
OKLaboklab(45.98% -0.0496 0.0746)
OKLCHoklch(45.98% 0.09 123.6)
XYZxyz(7.6135, 10.1009, 3.0616)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6022 #342260
analogous
#605322 #4E6022 #2F6022
triadic
#4E6022 #224E60 #60224E
tetradic
#4E6022 #226053 #342260 #60222F
square
#4E6022 #226053 #342260 #60222F
split-complementary
#4E6022 #222F60 #532260
monochromatic
#121708 #293312 #4E6022 #738D32 #97BA42

Accessibility & contrast

On white

6.95
#4E6022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E6022
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6022#FFFFFF#000000##FFFFFF
##4E60221.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1B
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#525B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6022;
/* rgb */ color: rgb(78, 96, 34);
/* oklch */ color: oklch(46.0% 0.090 123.6);
Tailwind
colors: {
  custom: {
    50: '#818d60',
    500: '#4e6022',
    950: '#000000',
  },
}
SCSS
$custom: #4e6022;
$custom-light: #818d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6022",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 77.419,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45977,
    "c": 0.0896,
    "h": 123.6
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#4E6022
secondary
#5F4A94
accent
#51D778
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6022

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

Preview Lab → · Contrast checker → · Palette generator →

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