#4D951C#4D951C

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

Color values

HEX#4D951C
RGBrgb(77, 149, 28)
HSLhsl(96, 68%, 35%)
HSVhsv(96, 81%, 58%)
CMYKcmyk(48.3%, 0%, 81.2%, 41.6%)
CIE-LABlab(55.23, -42.87, 52.02)
CIE-LCHlch(55.23, 67.41, 129.49°)
OKLaboklab(59.98% -0.1195 0.1151)
OKLCHoklch(59.98% 0.166 136.1)
XYZxyz(14.0172, 23.1556, 4.8292)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D951C #641C95
analogous
#8A951C #4D951C #1C9527
triadic
#4D951C #1C4D95 #951C4D
tetradic
#4D951C #1C8A95 #641C95 #95271C
square
#4D951C #1C8A95 #641C95 #95271C
split-complementary
#4D951C #271C95 #951C8A
monochromatic
#182E09 #326112 #4D951C #68C926 #88DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D951C#FFFFFF#000000##000000
##4D951C1.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)
#91822A
Tritanopia (blue-blind)
#4A8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d951c;
/* rgb */ color: rgb(77, 149, 28);
/* oklch */ color: oklch(60.0% 0.166 136.1);
Tailwind
colors: {
  custom: {
    50: '#86b563',
    500: '#4d951c',
    950: '#000000',
  },
}
SCSS
$custom: #4d951c;
$custom-light: #86b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4d951c",
  "rgb": {
    "r": 77,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 95.702,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.16595,
    "h": 136.1
  },
  "luminance": 0.23157
}

Semantic roles & 50–950 ramp

primary
#4D951C
secondary
#914DC0
accent
#3DEBA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D951C

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

Preview Lab → · Contrast checker → · Palette generator →

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