#4D951B#4D951B

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

Color values

HEX#4D951B
RGBrgb(77, 149, 27)
HSLhsl(95, 69%, 35%)
HSVhsv(95, 82%, 58%)
CMYKcmyk(48.3%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.23, -42.92, 52.31)
CIE-LCHlch(55.23, 67.67, 129.37°)
OKLaboklab(59.98% -0.1197 0.1156)
OKLCHoklch(59.98% 0.166 136)
XYZxyz(14.0055, 23.1509, 4.7673)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D951B #631B95
analogous
#8A951B #4D951B #1B9526
triadic
#4D951B #1B4D95 #951B4D
tetradic
#4D951B #1B8A95 #631B95 #95261B
square
#4D951B #1B8A95 #631B95 #95261B
split-complementary
#4D951B #261B95 #951B8A
monochromatic
#172D08 #326112 #4D951B #68C924 #88DF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D951B#FFFFFF#000000##000000
##4D951B1.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)
#918229
Tritanopia (blue-blind)
#4A8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d951b;
/* rgb */ color: rgb(77, 149, 27);
/* oklch */ color: oklch(60.0% 0.166 136.0);
Tailwind
colors: {
  custom: {
    50: '#86b563',
    500: '#4d951b',
    950: '#000000',
  },
}
SCSS
$custom: #4d951b;
$custom-light: #86b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4d951b",
  "rgb": {
    "r": 77,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 95.41,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.16642,
    "h": 136
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

primary
#4D951B
secondary
#904BC1
accent
#3CECA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D951B

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

Preview Lab → · Contrast checker → · Palette generator →

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