#4E5F22#4E5F22

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

Color values

HEX#4E5F22
RGBrgb(78, 95, 34)
HSLhsl(77, 47%, 25%)
HSVhsv(77, 64%, 37%)
CMYKcmyk(17.9%, 0%, 64.2%, 62.7%)
CIE-LABlab(37.70, -16.78, 31.97)
CIE-LCHlch(37.70, 36.10, 117.69°)
OKLaboklab(45.72% -0.048 0.0739)
OKLCHoklch(45.72% 0.088 123)
XYZxyz(7.5229, 9.9196, 3.0314)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F22 #33225F
analogous
#5F5122 #4E5F22 #305F22
triadic
#4E5F22 #224E5F #5F224E
tetradic
#4E5F22 #225F51 #33225F #5F2230
square
#4E5F22 #225F51 #33225F #5F2230
split-complementary
#4E5F22 #22305F #51225F
monochromatic
#131708 #293212 #4E5F22 #738C32 #98B942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5F22#FFFFFF#000000##FFFFFF
##4E5F221.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)
#64591B
Deuteranopia (green-blind)
#625926
Tritanopia (blue-blind)
#525A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f22;
/* rgb */ color: rgb(78, 95, 34);
/* oklch */ color: oklch(45.7% 0.088 123.0);
Tailwind
colors: {
  custom: {
    50: '#818c60',
    500: '#4e5f22',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f22;
$custom-light: #818c60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f22",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 76.721,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.08812,
    "h": 123
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#4E5F22
secondary
#5E4A93
accent
#51D776
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E5F22

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

Preview Lab → · Contrast checker → · Palette generator →

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