#4E7E23#4E7E23

#4E7E23 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.132 H 133.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E7E23
RGBrgb(78, 126, 35)
HSLhsl(92, 57%, 32%)
HSVhsv(92, 72%, 49%)
CMYKcmyk(38.1%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.83, -32.17, 42.31)
CIE-LCHlch(47.83, 53.15, 127.25°)
OKLaboklab(53.94% -0.0902 0.0958)
OKLCHoklch(53.94% 0.132 133.3)
XYZxyz(10.9059, 16.6623, 4.2313)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E23 #53237E
analogous
#7C7E23 #4E7E23 #237E25
triadic
#4E7E23 #234E7E #7E234E
tetradic
#4E7E23 #237C7E #53237E #7E2523
square
#4E7E23 #237C7E #53237E #7E2523
split-complementary
#4E7E23 #25237E #7E237C
monochromatic
#131E08 #304E16 #4E7E23 #6CAE30 #8ACE4E

Accessibility & contrast

On white

4.85
#4E7E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E23
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E23#FFFFFF#000000##FFFFFF
##4E7E231.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e23;
/* rgb */ color: rgb(78, 126, 35);
/* oklch */ color: oklch(53.9% 0.132 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a464',
    500: '#4e7e23',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e23;
$custom-light: #84a464;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e23",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 91.648,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.13163,
    "h": 133.3
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#4E7E23
secondary
#814CB0
accent
#48E098
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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