#4E852F#4E852F

#4E852F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.132 H 136.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E852F
RGBrgb(78, 133, 47)
HSLhsl(98, 48%, 35%)
HSVhsv(98, 65%, 52%)
CMYKcmyk(41.4%, 0%, 64.7%, 47.8%)
CIE-LABlab(50.22, -34.28, 39.59)
CIE-LCHlch(50.22, 52.37, 130.89°)
OKLaboklab(55.93% -0.095 0.0917)
OKLCHoklch(55.93% 0.132 136)
XYZxyz(12.0422, 18.5994, 5.6443)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E852F #662F85
analogous
#79852F #4E852F #2F853B
triadic
#4E852F #2F4E85 #852F4E
tetradic
#4E852F #2F7985 #662F85 #853B2F
square
#4E852F #2F7985 #662F85 #853B2F
split-complementary
#4E852F #3B2F85 #852F79
monochromatic
#192B0F #33581F #4E852F #69B23F #89C966

Accessibility & contrast

On white

4.45
#4E852F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4E852F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E852F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E852F#FFFFFF#000000##000000
##4E852F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A25
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#4C8073
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e852f;
/* rgb */ color: rgb(78, 133, 47);
/* oklch */ color: oklch(55.9% 0.132 136.0);
Tailwind
colors: {
  custom: {
    50: '#84a96b',
    500: '#4e852f',
    950: '#000000',
  },
}
SCSS
$custom: #4e852f;
$custom-light: #84a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e852f",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 98.372,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.13206,
    "h": 136
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#4E852F
secondary
#9360B0
accent
#50D7A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E852F

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

Preview Lab → · Contrast checker → · Palette generator →

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