#4C8A23#4C8A23

#4C8A23 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.149 H 135.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C8A23
RGBrgb(76, 138, 35)
HSLhsl(96, 60%, 34%)
HSVhsv(96, 75%, 54%)
CMYKcmyk(44.9%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.65, -38.19, 46.15)
CIE-LCHlch(51.65, 59.90, 129.61°)
OKLaboklab(57.04% -0.1064 0.1039)
OKLCHoklch(57.04% 0.149 135.7)
XYZxyz(12.3720, 19.8341, 4.7662)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A23 #61238A
analogous
#808A23 #4C8A23 #238A2E
triadic
#4C8A23 #234C8A #8A234C
tetradic
#4C8A23 #23808A #61238A #8A2E23
square
#4C8A23 #23808A #61238A #8A2E23
split-complementary
#4C8A23 #2E238A #8A2380
monochromatic
#16280A #315917 #4C8A23 #67BB2F #87D454

Accessibility & contrast

On white

4.23
#4C8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4C8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A23
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A23#FFFFFF#000000##000000
##4C8A231.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a23;
/* rgb */ color: rgb(76, 138, 35);
/* oklch */ color: oklch(57.0% 0.149 135.7);
Tailwind
colors: {
  custom: {
    50: '#84ad65',
    500: '#4c8a23',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a23;
$custom-light: #84ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a23",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 96.117,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.14874,
    "h": 135.7
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#4C8A23
secondary
#8F51B7
accent
#45E3A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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