#4E7E25#4E7E25

#4E7E25 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.130 H 133.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4E7E25
RGBrgb(78, 126, 37)
HSLhsl(92, 55%, 32%)
HSVhsv(92, 71%, 49%)
CMYKcmyk(38.1%, 0%, 70.6%, 50.6%)
CIE-LABlab(47.85, -32.01, 41.49)
CIE-LCHlch(47.85, 52.40, 127.65°)
OKLaboklab(53.96% -0.0896 0.0944)
OKLCHoklch(53.96% 0.13 133.5)
XYZxyz(10.9365, 16.6745, 4.3922)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E25 #55257E
analogous
#7A7E25 #4E7E25 #257E29
triadic
#4E7E25 #254E7E #7E254E
tetradic
#4E7E25 #257A7E #55257E #7E2925
square
#4E7E25 #257A7E #55257E #7E2925
split-complementary
#4E7E25 #29257E #7E257A
monochromatic
#131F09 #314F17 #4E7E25 #6BAD33 #8ACC51

Accessibility & contrast

On white

4.84
#4E7E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4E7E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E25
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E25#FFFFFF#000000##FFFFFF
##4E7E251.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837418
Deuteranopia (green-blind)
#7D702D
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e25;
/* rgb */ color: rgb(78, 126, 37);
/* oklch */ color: oklch(54.0% 0.130 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a465',
    500: '#4e7e25',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e25;
$custom-light: #84a465;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e25",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 92.36,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.13019,
    "h": 133.5
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#4E7E25
secondary
#834FB0
accent
#4ADE9A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E25

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

Preview Lab → · Contrast checker → · Palette generator →

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