#4F8A23#4F8A23

#4F8A23 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.147 H 134.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F8A23
RGBrgb(79, 138, 35)
HSLhsl(94, 60%, 34%)
HSVhsv(94, 75%, 54%)
CMYKcmyk(42.8%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.79, -37.15, 46.34)
CIE-LCHlch(51.79, 59.39, 128.72°)
OKLaboklab(57.2% -0.1038 0.1043)
OKLCHoklch(57.2% 0.147 134.9)
XYZxyz(12.6160, 19.9599, 4.7777)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A23 #5E238A
analogous
#838A23 #4F8A23 #238A2B
triadic
#4F8A23 #234F8A #8A234F
tetradic
#4F8A23 #23838A #5E238A #8A2B23
square
#4F8A23 #23838A #5E238A #8A2B23
split-complementary
#4F8A23 #2B238A #8A2383
monochromatic
#17280A #335917 #4F8A23 #6BBB2F #8AD454

Accessibility & contrast

On white

4.21
#4F8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A23#FFFFFF#000000##000000
##4F8A231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F10
Deuteranopia (green-blind)
#877A2D
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a23;
/* rgb */ color: rgb(79, 138, 35);
/* oklch */ color: oklch(57.2% 0.147 134.9);
Tailwind
colors: {
  custom: {
    50: '#86ac65',
    500: '#4f8a23',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a23;
$custom-light: #86ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a23",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 94.369,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.14713,
    "h": 134.9
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#4F8A23
secondary
#8C51B7
accent
#45E39F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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