#4E7A25#4E7A25

#4E7A25 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.125 H 132.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7A25
RGBrgb(78, 122, 37)
HSLhsl(91, 53%, 31%)
HSVhsv(91, 70%, 48%)
CMYKcmyk(36.1%, 0%, 69.7%, 52.2%)
CIE-LABlab(46.54, -30.16, 40.12)
CIE-LCHlch(46.54, 50.19, 126.93°)
OKLaboklab(52.9% -0.0846 0.0915)
OKLCHoklch(52.9% 0.125 132.7)
XYZxyz(10.4352, 15.6719, 4.2251)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A25 #51257A
analogous
#787A25 #4E7A25 #257A26
triadic
#4E7A25 #254E7A #7A254E
tetradic
#4E7A25 #25787A #51257A #7A2625
square
#4E7A25 #25787A #51257A #7A2625
split-complementary
#4E7A25 #26257A #7A2578
monochromatic
#121C09 #304B17 #4E7A25 #6CA933 #8BCA50

Accessibility & contrast

On white

5.08
#4E7A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E7A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A25
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A25#FFFFFF#000000##FFFFFF
##4E7A251.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7119
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#4F7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a25;
/* rgb */ color: rgb(78, 122, 37);
/* oklch */ color: oklch(52.9% 0.125 132.7);
Tailwind
colors: {
  custom: {
    50: '#83a164',
    500: '#4e7a25',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a25;
$custom-light: #83a164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a25",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 91.059,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.12462,
    "h": 132.7
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#4E7A25
secondary
#7F4EAC
accent
#4BDD96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A25

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

Preview Lab → · Contrast checker → · Palette generator →

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