#4E7527#4E7527

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

Color values

HEX#4E7527
RGBrgb(78, 117, 39)
HSLhsl(90, 50%, 31%)
HSVhsv(90, 67%, 46%)
CMYKcmyk(33.3%, 0%, 66.7%, 54.1%)
CIE-LABlab(44.93, -27.60, 37.49)
CIE-LCHlch(44.93, 46.55, 126.36°)
OKLaboklab(51.59% -0.0774 0.0862)
OKLCHoklch(51.59% 0.116 131.9)
XYZxyz(9.8693, 14.4884, 4.1956)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7527 #4E2775
analogous
#757527 #4E7527 #277527
triadic
#4E7527 #274E75 #75274E
tetradic
#4E7527 #277575 #4E2775 #752727
square
#4E7527 #277575 #4E2775 #752727
split-complementary
#4E7527 #272775 #752775
monochromatic
#111908 #2F4718 #4E7527 #6DA336 #8BC551

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7527#FFFFFF#000000##FFFFFF
##4E75271.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)
#7A6C1D
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#4F7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7527;
/* rgb */ color: rgb(78, 117, 39);
/* oklch */ color: oklch(51.6% 0.116 131.9);
Tailwind
colors: {
  custom: {
    50: '#839d65',
    500: '#4e7527',
    950: '#000000',
  },
}
SCSS
$custom: #4e7527;
$custom-light: #839d65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7527",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 39
  },
  "hsl": {
    "h": 90,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.11591,
    "h": 131.9
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#4E7527
secondary
#7C51A7
accent
#4EDA94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7527

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

Preview Lab → · Contrast checker → · Palette generator →

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