#4E5F21#4E5F21

#4E5F21 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.089 H 122.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4E5F21
RGBrgb(78, 95, 33)
HSLhsl(76, 48%, 25%)
HSVhsv(76, 65%, 37%)
CMYKcmyk(17.9%, 0%, 65.3%, 62.7%)
CIE-LABlab(37.69, -16.87, 32.45)
CIE-LCHlch(37.69, 36.57, 117.47°)
OKLaboklab(45.7% -0.0484 0.0748)
OKLCHoklch(45.7% 0.089 122.9)
XYZxyz(7.5087, 9.9139, 2.9565)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F21 #32215F
analogous
#5F5121 #4E5F21 #2F5F21
triadic
#4E5F21 #214E5F #5F214E
tetradic
#4E5F21 #215F51 #32215F #5F212F
square
#4E5F21 #215F51 #32215F #5F212F
split-complementary
#4E5F21 #212F5F #51215F
monochromatic
#131708 #293211 #4E5F21 #738C31 #99BA41

Accessibility & contrast

On white

7.04
#4E5F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E5F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F21
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F21#FFFFFF#000000##FFFFFF
##4E5F211.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65591A
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#525A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f21;
/* rgb */ color: rgb(78, 95, 33);
/* oklch */ color: oklch(45.7% 0.089 122.9);
Tailwind
colors: {
  custom: {
    50: '#818c5f',
    500: '#4e5f21',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f21;
$custom-light: #818c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f21",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 33
  },
  "hsl": {
    "h": 76.452,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.08907,
    "h": 122.9
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#4E5F21
secondary
#5D4993
accent
#50D875
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E5F21

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

Preview Lab → · Contrast checker → · Palette generator →

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