#4A9C1F#4A9C1F

#4A9C1F is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.7% C 0.174 H 137.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4A9C1F
RGBrgb(74, 156, 31)
HSLhsl(99, 67%, 37%)
HSVhsv(99, 80%, 61%)
CMYKcmyk(52.6%, 0%, 80.1%, 38.8%)
CIE-LABlab(57.40, -46.41, 53.08)
CIE-LCHlch(57.40, 70.50, 131.16°)
OKLaboklab(61.73% -0.1287 0.1178)
OKLCHoklch(61.73% 0.174 137.5)
XYZxyz(14.9593, 25.3306, 5.3971)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9C1F #711F9C
analogous
#899C1F #4A9C1F #1F9C33
triadic
#4A9C1F #1F4A9C #9C1F4A
tetradic
#4A9C1F #1F899C #711F9C #9C331F
square
#4A9C1F #1F899C #711F9C #9C331F
split-complementary
#4A9C1F #331F9C #9C1F89
monochromatic
#1A360B #326915 #4A9C1F #62CF29 #86DE58

Accessibility & contrast

On white

3.46
#4A9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#4A9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9C1F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9C1F#FFFFFF#000000##000000
##4A9C1F1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#449685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4a9c1f;
/* rgb */ color: rgb(74, 156, 31);
/* oklch */ color: oklch(61.7% 0.174 137.5);
Tailwind
colors: {
  custom: {
    50: '#85ba66',
    500: '#4a9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4a9c1f;
$custom-light: #85ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9c1f",
  "rgb": {
    "r": 74,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 99.36,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.17446,
    "h": 137.5
  },
  "luminance": 0.25332
}

Semantic roles & 50–950 ramp

primary
#4A9C1F
secondary
#9C55C1
accent
#3EEAAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4A9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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