#4E7526#4E7526

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

Color values

HEX#4E7526
RGBrgb(78, 117, 38)
HSLhsl(90, 51%, 30%)
HSVhsv(90, 68%, 46%)
CMYKcmyk(33.3%, 0%, 67.5%, 54.1%)
CIE-LABlab(44.92, -27.69, 37.94)
CIE-LCHlch(44.92, 46.97, 126.12°)
OKLaboklab(51.58% -0.0778 0.0871)
OKLCHoklch(51.58% 0.117 131.8)
XYZxyz(9.8529, 14.4819, 4.1095)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7526 #4D2675
analogous
#757426 #4E7526 #267526
triadic
#4E7526 #264E75 #75264E
tetradic
#4E7526 #267574 #4D2675 #752626
square
#4E7526 #267574 #4D2675 #752626
split-complementary
#4E7526 #262675 #742675
monochromatic
#101908 #2F4717 #4E7526 #6DA335 #8BC64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7526#FFFFFF#000000##FFFFFF
##4E75261.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)
#7A6C1C
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#4F7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7526;
/* rgb */ color: rgb(78, 117, 38);
/* oklch */ color: oklch(51.6% 0.117 131.8);
Tailwind
colors: {
  custom: {
    50: '#839d64',
    500: '#4e7526',
    950: '#000000',
  },
}
SCSS
$custom: #4e7526;
$custom-light: #839d64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7526",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 89.62,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.11674,
    "h": 131.8
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#4E7526
secondary
#7B4FA7
accent
#4DDA93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7526

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

Preview Lab → · Contrast checker → · Palette generator →

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