#4E7230#4E7230

#4E7230 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.103 H 132.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E7230
RGBrgb(78, 114, 48)
HSLhsl(93, 41%, 32%)
HSVhsv(93, 58%, 45%)
CMYKcmyk(31.6%, 0%, 57.9%, 55.3%)
CIE-LABlab(44.04, -25.20, 32.08)
CIE-LCHlch(44.04, 40.80, 128.15°)
OKLaboklab(50.9% -0.0701 0.0757)
OKLCHoklch(50.9% 0.103 132.8)
XYZxyz(9.6925, 13.8674, 4.9617)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7230 #543072
analogous
#6F7230 #4E7230 #307233
triadic
#4E7230 #304E72 #72304E
tetradic
#4E7230 #306F72 #543072 #723330
square
#4E7230 #306F72 #543072 #723330
split-complementary
#4E7230 #333072 #72306F
monochromatic
#131C0C #31471E #4E7230 #6B9D42 #8ABC60

Accessibility & contrast

On white

5.56
#4E7230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4E7230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7230
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7230#FFFFFF#000000##FFFFFF
##4E72301.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2A
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#4F6E63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7230;
/* rgb */ color: rgb(78, 114, 48);
/* oklch */ color: oklch(50.9% 0.103 132.8);
Tailwind
colors: {
  custom: {
    50: '#829b6a',
    500: '#4e7230',
    950: '#000000',
  },
}
SCSS
$custom: #4e7230;
$custom-light: #829b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7230",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 92.727,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.10317,
    "h": 132.8
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#4E7230
secondary
#825BA3
accent
#57D199
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7230

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

Preview Lab → · Contrast checker → · Palette generator →

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