#4C951F#4C951F

#4C951F is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.0% C 0.165 H 136.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4C951F
RGBrgb(76, 149, 31)
HSLhsl(97, 66%, 35%)
HSVhsv(97, 79%, 58%)
CMYKcmyk(49%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.21, -43.02, 51.03)
CIE-LCHlch(55.21, 66.75, 130.13°)
OKLaboklab(59.95% -0.1197 0.1135)
OKLCHoklch(59.95% 0.165 136.5)
XYZxyz(13.9749, 23.1294, 5.0241)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C951F #681F95
analogous
#87951F #4C951F #1F952D
triadic
#4C951F #1F4C95 #951F4C
tetradic
#4C951F #1F8795 #681F95 #952D1F
square
#4C951F #1F8795 #681F95 #952D1F
split-complementary
#4C951F #2D1F95 #951F87
monochromatic
#18300A #326214 #4C951F #66C82A #87DB53

Accessibility & contrast

On white

3.73
#4C951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4C951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C951F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C951F#FFFFFF#000000##000000
##4C951F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#488F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c951f;
/* rgb */ color: rgb(76, 149, 31);
/* oklch */ color: oklch(60.0% 0.165 136.5);
Tailwind
colors: {
  custom: {
    50: '#85b565',
    500: '#4c951f',
    950: '#000000',
  },
}
SCSS
$custom: #4c951f;
$custom-light: #85b565;
$custom-dark: #000000;
JSON
{
  "hex": "#4c951f",
  "rgb": {
    "r": 76,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 97.119,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.16496,
    "h": 136.5
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

primary
#4C951F
secondary
#9551BF
accent
#3FE9A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C951F

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

Preview Lab → · Contrast checker → · Palette generator →

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