#4A951F#4A951F

#4A951F is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 59.9% C 0.166 H 136.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4A951F
RGBrgb(74, 149, 31)
HSLhsl(98, 66%, 35%)
HSVhsv(98, 79%, 58%)
CMYKcmyk(50.3%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.12, -43.65, 50.92)
CIE-LCHlch(55.12, 67.07, 130.60°)
OKLaboklab(59.86% -0.1213 0.1133)
OKLCHoklch(59.86% 0.166 136.9)
XYZxyz(13.8184, 23.0487, 5.0168)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A951F #6A1F95
analogous
#85951F #4A951F #1F952F
triadic
#4A951F #1F4A95 #951F4A
tetradic
#4A951F #1F8595 #6A1F95 #952F1F
square
#4A951F #1F8595 #6A1F95 #952F1F
split-complementary
#4A951F #2F1F95 #951F85
monochromatic
#18300A #316214 #4A951F #63C82A #85DB53

Accessibility & contrast

On white

3.74
#4A951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4A951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A951F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A951F#FFFFFF#000000##000000
##4A951F1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#90822C
Tritanopia (blue-blind)
#468F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4a951f;
/* rgb */ color: rgb(74, 149, 31);
/* oklch */ color: oklch(59.9% 0.166 136.9);
Tailwind
colors: {
  custom: {
    50: '#84b565',
    500: '#4a951f',
    950: '#000000',
  },
}
SCSS
$custom: #4a951f;
$custom-light: #84b565;
$custom-dark: #000000;
JSON
{
  "hex": "#4a951f",
  "rgb": {
    "r": 74,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 98.136,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.16597,
    "h": 136.9
  },
  "luminance": 0.2305
}

Semantic roles & 50–950 ramp

primary
#4A951F
secondary
#9751BF
accent
#3FE9AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A951F

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

Preview Lab → · Contrast checker → · Palette generator →

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