#4E7525#4E7525

#4E7525 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.118 H 131.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E7525
RGBrgb(78, 117, 37)
HSLhsl(89, 52%, 30%)
HSVhsv(89, 68%, 46%)
CMYKcmyk(33.3%, 0%, 68.4%, 54.1%)
CIE-LABlab(44.91, -27.78, 38.38)
CIE-LCHlch(44.91, 47.38, 125.89°)
OKLaboklab(51.57% -0.0781 0.0879)
OKLCHoklch(51.57% 0.118 131.6)
XYZxyz(9.8370, 14.4755, 4.0257)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7525 #4C2575
analogous
#757425 #4E7525 #267525
triadic
#4E7525 #254E75 #75254E
tetradic
#4E7525 #257574 #4C2575 #752526
square
#4E7525 #257574 #4C2575 #752526
split-complementary
#4E7525 #252675 #742575
monochromatic
#101808 #2F4716 #4E7525 #6DA334 #8CC74E

Accessibility & contrast

On white

5.39
#4E7525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4E7525 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7525
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7525#FFFFFF#000000##FFFFFF
##4E75251.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1A
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#4F7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7525;
/* rgb */ color: rgb(78, 117, 37);
/* oklch */ color: oklch(51.6% 0.118 131.6);
Tailwind
colors: {
  custom: {
    50: '#839d64',
    500: '#4e7525',
    950: '#000000',
  },
}
SCSS
$custom: #4e7525;
$custom-light: #839d64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7525",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 37
  },
  "hsl": {
    "h": 89.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.11756,
    "h": 131.6
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#4E7525
secondary
#7A4EA8
accent
#4CDB92
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7525

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

Preview Lab → · Contrast checker → · Palette generator →

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