#4E7A23#4E7A23

#4E7A23 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.126 H 132.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7A23
RGBrgb(78, 122, 35)
HSLhsl(90, 55%, 31%)
HSVhsv(90, 71%, 48%)
CMYKcmyk(36.1%, 0%, 71.3%, 52.2%)
CIE-LABlab(46.52, -30.32, 40.96)
CIE-LCHlch(46.52, 50.96, 126.51°)
OKLaboklab(52.88% -0.0852 0.093)
OKLCHoklch(52.88% 0.126 132.5)
XYZxyz(10.4047, 15.6597, 4.0642)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A23 #4F237A
analogous
#797A23 #4E7A23 #237A23
triadic
#4E7A23 #234E7A #7A234E
tetradic
#4E7A23 #23797A #4F237A #7A2323
square
#4E7A23 #23797A #4F237A #7A2323
split-complementary
#4E7A23 #23237A #7A2379
monochromatic
#111B08 #304A15 #4E7A23 #6CAA31 #8BCC4C

Accessibility & contrast

On white

5.08
#4E7A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E7A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A23
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A23#FFFFFF#000000##FFFFFF
##4E7A231.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#4F7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a23;
/* rgb */ color: rgb(78, 122, 35);
/* oklch */ color: oklch(52.9% 0.126 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a163',
    500: '#4e7a23',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a23;
$custom-light: #83a163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a23",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 90.345,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.12613,
    "h": 132.5
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#4E7A23
secondary
#7D4CAD
accent
#49DF95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #4E7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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