#4E7D25#4E7D25

#4E7D25 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.129 H 133.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7D25
RGBrgb(78, 125, 37)
HSLhsl(92, 54%, 32%)
HSVhsv(92, 70%, 49%)
CMYKcmyk(37.6%, 0%, 70.4%, 51%)
CIE-LABlab(47.52, -31.55, 41.15)
CIE-LCHlch(47.52, 51.85, 127.48°)
OKLaboklab(53.7% -0.0884 0.0937)
OKLCHoklch(53.7% 0.129 133.3)
XYZxyz(10.8093, 16.4200, 4.3498)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D25 #54257D
analogous
#7A7D25 #4E7D25 #257D28
triadic
#4E7D25 #254E7D #7D254E
tetradic
#4E7D25 #257A7D #54257D #7D2825
square
#4E7D25 #257A7D #54257D #7D2825
split-complementary
#4E7D25 #28257D #7D257A
monochromatic
#131F09 #314E17 #4E7D25 #6BAC33 #8ACB51

Accessibility & contrast

On white

4.90
#4E7D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E7D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D25
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D25#FFFFFF#000000##FFFFFF
##4E7D251.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#7C6F2D
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d25;
/* rgb */ color: rgb(78, 125, 37);
/* oklch */ color: oklch(53.7% 0.129 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a365',
    500: '#4e7d25',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d25;
$custom-light: #83a365;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d25",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 92.045,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.1288,
    "h": 133.3
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#4E7D25
secondary
#824FAF
accent
#4ADE99
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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