#4E6021#4E6021

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

Color values

HEX#4E6021
RGBrgb(78, 96, 33)
HSLhsl(77, 49%, 25%)
HSVhsv(77, 66%, 38%)
CMYKcmyk(18.7%, 0%, 65.6%, 62.4%)
CIE-LABlab(38.01, -17.41, 32.81)
CIE-LCHlch(38.01, 37.14, 117.96°)
OKLaboklab(45.97% -0.0499 0.0755)
OKLCHoklch(45.97% 0.091 123.5)
XYZxyz(7.5993, 10.0952, 2.9868)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6021 #332160
analogous
#605221 #4E6021 #2E6021
triadic
#4E6021 #214E60 #60214E
tetradic
#4E6021 #216052 #332160 #60212E
square
#4E6021 #216052 #332160 #60212E
split-complementary
#4E6021 #212E60 #522160
monochromatic
#131708 #293211 #4E6021 #738E31 #98BB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6021#FFFFFF#000000##FFFFFF
##4E60211.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)
#665A1A
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#525B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e6021;
/* rgb */ color: rgb(78, 96, 33);
/* oklch */ color: oklch(46.0% 0.091 123.5);
Tailwind
colors: {
  custom: {
    50: '#818d5f',
    500: '#4e6021',
    950: '#000000',
  },
}
SCSS
$custom: #4e6021;
$custom-light: #818d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6021",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 33
  },
  "hsl": {
    "h": 77.143,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.09054,
    "h": 123.5
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#4E6021
secondary
#5E4994
accent
#4FD877
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6021

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

Preview Lab → · Contrast checker → · Palette generator →

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