#4C951B#4C951B

#4C951B is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 59.9% C 0.167 H 136.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4C951B
RGBrgb(76, 149, 27)
HSLhsl(96, 69%, 35%)
HSVhsv(96, 82%, 58%)
CMYKcmyk(49%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.19, -43.24, 52.26)
CIE-LCHlch(55.19, 67.83, 129.61°)
OKLaboklab(59.93% -0.1205 0.1155)
OKLCHoklch(59.93% 0.167 136.2)
XYZxyz(13.9254, 23.1096, 4.7635)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C951B #641B95
analogous
#89951B #4C951B #1B9527
triadic
#4C951B #1B4C95 #951B4C
tetradic
#4C951B #1B8995 #641B95 #95271B
square
#4C951B #1B8995 #641B95 #95271B
split-complementary
#4C951B #271B95 #951B89
monochromatic
#172D08 #326112 #4C951B #66C924 #87DF4C

Accessibility & contrast

On white

3.74
#4C951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4C951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C951B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C951B#FFFFFF#000000##000000
##4C951B1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c951b;
/* rgb */ color: rgb(76, 149, 27);
/* oklch */ color: oklch(59.9% 0.167 136.2);
Tailwind
colors: {
  custom: {
    50: '#86b563',
    500: '#4c951b',
    950: '#000000',
  },
}
SCSS
$custom: #4c951b;
$custom-light: #86b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4c951b",
  "rgb": {
    "r": 76,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 95.902,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.16692,
    "h": 136.2
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

primary
#4C951B
secondary
#914BC1
accent
#3CECA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C951B

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

Preview Lab → · Contrast checker → · Palette generator →

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