#4E8F23#4E8F23

#4E8F23 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.154 H 135.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E8F23
RGBrgb(78, 143, 35)
HSLhsl(96, 61%, 35%)
HSVhsv(96, 76%, 56%)
CMYKcmyk(45.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(53.37, -39.63, 47.89)
CIE-LCHlch(53.37, 62.17, 129.61°)
OKLaboklab(58.48% -0.1104 0.1075)
OKLCHoklch(58.48% 0.154 135.8)
XYZxyz(13.2674, 21.3852, 5.0184)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F23 #64238F
analogous
#848F23 #4E8F23 #238F2E
triadic
#4E8F23 #234E8F #8F234E
tetradic
#4E8F23 #23848F #64238F #8F2E23
square
#4E8F23 #23848F #64238F #8F2E23
split-complementary
#4E8F23 #2E238F #8F2384
monochromatic
#182D0B #335E17 #4E8F23 #69C02F #89D657

Accessibility & contrast

On white

3.98
#4E8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F23
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F23#FFFFFF#000000##000000
##4E8F231.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#4C8A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f23;
/* rgb */ color: rgb(78, 143, 35);
/* oklch */ color: oklch(58.5% 0.154 135.8);
Tailwind
colors: {
  custom: {
    50: '#86b066',
    500: '#4e8f23',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f23;
$custom-light: #86b066;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f23",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 96.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.15414,
    "h": 135.8
  },
  "luminance": 0.21386
}

Semantic roles & 50–950 ramp

primary
#4E8F23
secondary
#9154BA
accent
#44E4A4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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