#4E7B2C#4E7B2C

#4E7B2C is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.120 H 134.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E7B2C
RGBrgb(78, 123, 44)
HSLhsl(94, 47%, 33%)
HSVhsv(94, 64%, 48%)
CMYKcmyk(36.6%, 0%, 64.2%, 51.8%)
CIE-LABlab(46.93, -29.98, 37.36)
CIE-LCHlch(46.93, 47.90, 128.75°)
OKLaboklab(53.23% -0.0835 0.0866)
OKLCHoklch(53.23% 0.12 134)
XYZxyz(10.6793, 15.9670, 4.9016)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B2C #592C7B
analogous
#757B2C #4E7B2C #2C7B31
triadic
#4E7B2C #2C4E7B #7B2C4E
tetradic
#4E7B2C #2C757B #592C7B #7B312C
square
#4E7B2C #2C757B #592C7B #7B312C
split-complementary
#4E7B2C #312C7B #7B2C75
monochromatic
#15210C #314E1C #4E7B2C #6BA83C #89C55D

Accessibility & contrast

On white

5.01
#4E7B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E7B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B2C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B2C#FFFFFF#000000##FFFFFF
##4E7B2C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b2c;
/* rgb */ color: rgb(78, 123, 44);
/* oklch */ color: oklch(53.2% 0.120 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a169',
    500: '#4e7b2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b2c;
$custom-light: #83a169;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b2c",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 94.177,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.12031,
    "h": 134
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#4E7B2C
secondary
#8758AB
accent
#51D79D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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