#4E7725#4E7725

#4E7725 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.1% C 0.120 H 132.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E7725
RGBrgb(78, 119, 37)
HSLhsl(90, 53%, 31%)
HSVhsv(90, 69%, 47%)
CMYKcmyk(34.5%, 0%, 68.9%, 53.3%)
CIE-LABlab(45.56, -28.74, 39.08)
CIE-LCHlch(45.56, 48.51, 126.33°)
OKLaboklab(52.1% -0.0807 0.0893)
OKLCHoklch(52.1% 0.12 132.1)
XYZxyz(10.0725, 14.9466, 4.1042)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7725 #4E2577
analogous
#777725 #4E7725 #257725
triadic
#4E7725 #254E77 #77254E
tetradic
#4E7725 #257777 #4E2577 #772525
square
#4E7725 #257777 #4E2577 #772525
split-complementary
#4E7725 #252577 #772577
monochromatic
#111A08 #2F4816 #4E7725 #6DA634 #8BC84E

Accessibility & contrast

On white

5.26
#4E7725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E7725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7725
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7725#FFFFFF#000000##FFFFFF
##4E77251.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1A
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#4F7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7725;
/* rgb */ color: rgb(78, 119, 37);
/* oklch */ color: oklch(52.1% 0.120 132.1);
Tailwind
colors: {
  custom: {
    50: '#839e64',
    500: '#4e7725',
    950: '#000000',
  },
}
SCSS
$custom: #4e7725;
$custom-light: #839e64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7725",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 37
  },
  "hsl": {
    "h": 90,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.1204,
    "h": 132.1
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#4E7725
secondary
#7C4EA9
accent
#4CDC94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7725

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

Preview Lab → · Contrast checker → · Palette generator →

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