#4D9A1C#4D9A1C

#4D9A1C is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.3% C 0.172 H 136.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4D9A1C
RGBrgb(77, 154, 28)
HSLhsl(97, 69%, 36%)
HSVhsv(97, 82%, 60%)
CMYKcmyk(50%, 0%, 81.8%, 39.6%)
CIE-LABlab(56.85, -44.87, 53.52)
CIE-LCHlch(56.85, 69.84, 129.98°)
OKLaboklab(61.32% -0.1249 0.1182)
OKLCHoklch(61.32% 0.172 136.6)
XYZxyz(14.8253, 24.7718, 5.0986)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9A1C #691C9A
analogous
#8C9A1C #4D9A1C #1C9A2A
triadic
#4D9A1C #1C4D9A #9A1C4D
tetradic
#4D9A1C #1C8C9A #691C9A #9A2A1C
square
#4D9A1C #1C8C9A #691C9A #9A2A1C
split-complementary
#4D9A1C #2A1C9A #9A1C8C
monochromatic
#193209 #336613 #4D9A1C #67CE25 #88DF51

Accessibility & contrast

On white

3.53
#4D9A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#4D9A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9A1C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9A1C#FFFFFF#000000##000000
##4D9A1C1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#499483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d9a1c;
/* rgb */ color: rgb(77, 154, 28);
/* oklch */ color: oklch(61.3% 0.172 136.6);
Tailwind
colors: {
  custom: {
    50: '#87b864',
    500: '#4d9a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d9a1c;
$custom-light: #87b864;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9a1c",
  "rgb": {
    "r": 77,
    "g": 154,
    "b": 28
  },
  "hsl": {
    "h": 96.667,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.172,
    "h": 136.6
  },
  "luminance": 0.24773
}

Semantic roles & 50–950 ramp

primary
#4D9A1C
secondary
#9650C2
accent
#3CECA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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