#4C8F13#4C8F13

#4C8F13 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.163 H 135.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C8F13
RGBrgb(76, 143, 19)
HSLhsl(92, 77%, 32%)
HSVhsv(92, 87%, 56%)
CMYKcmyk(46.9%, 0%, 86.7%, 43.9%)
CIE-LABlab(53.20, -41.18, 52.64)
CIE-LCHlch(53.20, 66.83, 128.03°)
OKLaboklab(58.29% -0.1154 0.1151)
OKLCHoklch(58.29% 0.163 135.1)
XYZxyz(12.9202, 21.2276, 4.0325)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F13 #56138F
analogous
#8A8F13 #4C8F13 #138F18
triadic
#4C8F13 #134C8F #8F134C
tetradic
#4C8F13 #138A8F #56138F #8F1813
square
#4C8F13 #138A8F #56138F #8F1813
split-complementary
#4C8F13 #18138F #8F138A
monochromatic
#132305 #2F590C #4C8F13 #69C51A #87E538

Accessibility & contrast

On white

4.00
#4C8F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C8F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F13
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F13#FFFFFF#000000##000000
##4C8F131.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958200
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#4A8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f13;
/* rgb */ color: rgb(76, 143, 19);
/* oklch */ color: oklch(58.3% 0.163 135.1);
Tailwind
colors: {
  custom: {
    50: '#85b05f',
    500: '#4c8f13',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f13;
$custom-light: #85b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f13",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 92.419,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.16301,
    "h": 135.1
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

primary
#4C8F13
secondary
#843BC3
accent
#35F39C
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8F13

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

Preview Lab → · Contrast checker → · Palette generator →

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