#4C9F1F#4C9F1F

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

Color values

HEX#4C9F1F
RGBrgb(76, 159, 31)
HSLhsl(99, 67%, 37%)
HSVhsv(99, 81%, 62%)
CMYKcmyk(52.2%, 0%, 80.5%, 37.6%)
CIE-LABlab(58.44, -46.97, 54.09)
CIE-LCHlch(58.44, 71.64, 130.97°)
OKLaboklab(62.62% -0.1303 0.1199)
OKLCHoklch(62.62% 0.177 137.4)
XYZxyz(15.6254, 26.4305, 5.5743)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9F1F #721F9F
analogous
#8C9F1F #4C9F1F #1F9F32
triadic
#4C9F1F #1F4C9F #9F1F4C
tetradic
#4C9F1F #1F8C9F #721F9F #9F321F
square
#4C9F1F #1F8C9F #721F9F #9F321F
split-complementary
#4C9F1F #321F9F #9F1F8C
monochromatic
#1B390B #346C15 #4C9F1F #64D229 #88DF5A

Accessibility & contrast

On white

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

On black

6.29
#4C9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9F1F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9F1F#FFFFFF#000000##000000
##4C9F1F1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#469987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4c9f1f;
/* rgb */ color: rgb(76, 159, 31);
/* oklch */ color: oklch(62.6% 0.177 137.4);
Tailwind
colors: {
  custom: {
    50: '#87bc66',
    500: '#4c9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4c9f1f;
$custom-light: #87bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9f1f",
  "rgb": {
    "r": 76,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 98.906,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62619,
    "c": 0.17709,
    "h": 137.4
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#4C9F1F
secondary
#9D57C3
accent
#3EEAAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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