#4E7B25#4E7B25

#4E7B25 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.126 H 133.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7B25
RGBrgb(78, 123, 37)
HSLhsl(91, 54%, 31%)
HSVhsv(91, 70%, 48%)
CMYKcmyk(36.6%, 0%, 69.9%, 51.8%)
CIE-LABlab(46.87, -30.62, 40.46)
CIE-LCHlch(46.87, 50.75, 127.12°)
OKLaboklab(53.16% -0.0859 0.0922)
OKLCHoklch(53.16% 0.126 133)
XYZxyz(10.5586, 15.9188, 4.2662)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B25 #52257B
analogous
#797B25 #4E7B25 #257B27
triadic
#4E7B25 #254E7B #7B254E
tetradic
#4E7B25 #25797B #52257B #7B2725
square
#4E7B25 #25797B #52257B #7B2725
split-complementary
#4E7B25 #27257B #7B2579
monochromatic
#121D09 #304C17 #4E7B25 #6CAA33 #8ACA50

Accessibility & contrast

On white

5.02
#4E7B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E7B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B25
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B25#FFFFFF#000000##FFFFFF
##4E7B251.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b25;
/* rgb */ color: rgb(78, 123, 37);
/* oklch */ color: oklch(53.2% 0.126 133.0);
Tailwind
colors: {
  custom: {
    50: '#83a164',
    500: '#4e7b25',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b25;
$custom-light: #83a164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b25",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 91.395,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.12602,
    "h": 133
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#4E7B25
secondary
#804FAD
accent
#4BDD97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B25

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

Preview Lab → · Contrast checker → · Palette generator →

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