#4D9F12#4D9F12

#4D9F12 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.6% C 0.182 H 136.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4D9F12
RGBrgb(77, 159, 18)
HSLhsl(95, 80%, 35%)
HSVhsv(95, 89%, 62%)
CMYKcmyk(51.6%, 0%, 88.7%, 37.6%)
CIE-LABlab(58.43, -47.25, 57.43)
CIE-LCHlch(58.43, 74.37, 129.45°)
OKLaboklab(62.6% -0.1318 0.1251)
OKLCHoklch(62.6% 0.182 136.5)
XYZxyz(15.5674, 26.4166, 4.8507)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9F12 #64129F
analogous
#939F12 #4D9F12 #129F1E
triadic
#4D9F12 #124D9F #9F124D
tetradic
#4D9F12 #12939F #64129F #9F1E12
square
#4D9F12 #12939F #64129F #9F1E12
split-complementary
#4D9F12 #1E129F #9F1293
monochromatic
#183106 #32680C #4D9F12 #68D618 #88EA42

Accessibility & contrast

On white

3.34
#4D9F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#4D9F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9F12
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9F12#FFFFFF#000000##000000
##4D9F121.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#489987
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4d9f12;
/* rgb */ color: rgb(77, 159, 18);
/* oklch */ color: oklch(62.6% 0.182 136.5);
Tailwind
colors: {
  custom: {
    50: '#88bc61',
    500: '#4d9f12',
    950: '#000000',
  },
}
SCSS
$custom: #4d9f12;
$custom-light: #88bc61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9f12",
  "rgb": {
    "r": 77,
    "g": 159,
    "b": 18
  },
  "hsl": {
    "h": 94.894,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62603,
    "c": 0.1817,
    "h": 136.5
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

primary
#4D9F12
secondary
#9143CA
accent
#32F6A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9F12

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

Preview Lab → · Contrast checker → · Palette generator →

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