#4E7925#4E7925

#4E7925 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.123 H 132.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7925
RGBrgb(78, 121, 37)
HSLhsl(91, 53%, 31%)
HSVhsv(91, 69%, 47%)
CMYKcmyk(35.5%, 0%, 69.4%, 52.5%)
CIE-LABlab(46.21, -29.69, 39.77)
CIE-LCHlch(46.21, 49.63, 126.74°)
OKLaboklab(52.63% -0.0833 0.0908)
OKLCHoklch(52.63% 0.123 132.5)
XYZxyz(10.3130, 15.4276, 4.1844)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7925 #502579
analogous
#787925 #4E7925 #257926
triadic
#4E7925 #254E79 #79254E
tetradic
#4E7925 #257879 #502579 #792625
square
#4E7925 #257879 #502579 #792625
split-complementary
#4E7925 #262579 #792578
monochromatic
#121B08 #304A17 #4E7925 #6CA833 #8BC94F

Accessibility & contrast

On white

5.14
#4E7925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4E7925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7925
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7925#FFFFFF#000000##FFFFFF
##4E79251.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#4F7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7925;
/* rgb */ color: rgb(78, 121, 37);
/* oklch */ color: oklch(52.6% 0.123 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a064',
    500: '#4e7925',
    950: '#000000',
  },
}
SCSS
$custom: #4e7925;
$custom-light: #83a064;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7925",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 90.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.12322,
    "h": 132.5
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#4E7925
secondary
#7E4EAB
accent
#4BDD96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7925

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

Preview Lab → · Contrast checker → · Palette generator →

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