#4D9D12#4D9D12

#4D9D12 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.1% C 0.179 H 136.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4D9D12
RGBrgb(77, 157, 18)
HSLhsl(95, 79%, 34%)
HSVhsv(95, 89%, 62%)
CMYKcmyk(51%, 0%, 88.5%, 38.4%)
CIE-LABlab(57.78, -46.48, 56.87)
CIE-LCHlch(57.78, 73.45, 129.26°)
OKLaboklab(62.07% -0.1297 0.1239)
OKLCHoklch(62.07% 0.179 136.3)
XYZxyz(15.2263, 25.7343, 4.7370)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9D12 #62129D
analogous
#939D12 #4D9D12 #129D1C
triadic
#4D9D12 #124D9D #9D124D
tetradic
#4D9D12 #12939D #62129D #9D1C12
square
#4D9D12 #12939D #62129D #9D1C12
split-complementary
#4D9D12 #1C129D #9D1293
monochromatic
#172F05 #32660C #4D9D12 #68D418 #88E940

Accessibility & contrast

On white

3.42
#4D9D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#4D9D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9D12
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9D12#FFFFFF#000000##000000
##4D9D121.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#499785
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d9d12;
/* rgb */ color: rgb(77, 157, 18);
/* oklch */ color: oklch(62.1% 0.179 136.3);
Tailwind
colors: {
  custom: {
    50: '#88ba61',
    500: '#4d9d12',
    950: '#000000',
  },
}
SCSS
$custom: #4d9d12;
$custom-light: #88ba61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9d12",
  "rgb": {
    "r": 77,
    "g": 157,
    "b": 18
  },
  "hsl": {
    "h": 94.532,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.17938,
    "h": 136.3
  },
  "luminance": 0.25735
}

Semantic roles & 50–950 ramp

primary
#4D9D12
secondary
#9042C9
accent
#32F6A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9D12

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

Preview Lab → · Contrast checker → · Palette generator →

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