#4E7B19#4E7B19

#4E7B19 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.134 H 131.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E7B19
RGBrgb(78, 123, 25)
HSLhsl(88, 66%, 29%)
HSVhsv(88, 80%, 48%)
CMYKcmyk(36.6%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.78, -31.47, 45.07)
CIE-LCHlch(46.78, 54.97, 124.92°)
OKLaboklab(53.07% -0.0891 0.1)
OKLCHoklch(53.07% 0.134 131.7)
XYZxyz(10.4002, 15.8554, 3.4319)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B19 #46197B
analogous
#7B7719 #4E7B19 #1D7B19
triadic
#4E7B19 #194E7B #7B194E
tetradic
#4E7B19 #197B77 #46197B #7B191D
square
#4E7B19 #197B77 #46197B #7B191D
split-complementary
#4E7B19 #191D7B #77197B
monochromatic
#101905 #2E480F #4E7B19 #6EAE23 #8ED738

Accessibility & contrast

On white

5.03
#4E7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4E7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B19
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B19#FFFFFF#000000##FFFFFF
##4E7B191.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b19;
/* rgb */ color: rgb(78, 123, 25);
/* oklch */ color: oklch(53.1% 0.134 131.7);
Tailwind
colors: {
  custom: {
    50: '#84a15e',
    500: '#4e7b19',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b19;
$custom-light: #84a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b19",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 87.551,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.13398,
    "h": 131.7
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#4E7B19
secondary
#7340AF
accent
#3FE98D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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