#4A941F#4A941F

#4A941F is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.6% C 0.165 H 136.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4A941F
RGBrgb(74, 148, 31)
HSLhsl(98, 65%, 35%)
HSVhsv(98, 79%, 58%)
CMYKcmyk(50%, 0%, 79.1%, 42%)
CIE-LABlab(54.80, -43.25, 50.62)
CIE-LCHlch(54.80, 66.58, 130.51°)
OKLaboklab(59.6% -0.1202 0.1127)
OKLCHoklch(59.6% 0.165 136.9)
XYZxyz(13.6609, 22.7336, 4.9642)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A941F #691F94
analogous
#84941F #4A941F #1F942F
triadic
#4A941F #1F4A94 #941F4A
tetradic
#4A941F #1F8494 #691F94 #942F1F
square
#4A941F #1F8494 #691F94 #942F1F
split-complementary
#4A941F #2F1F94 #941F84
monochromatic
#172F0A #316114 #4A941F #63C72A #85DB53

Accessibility & contrast

On white

3.79
#4A941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4A941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A941F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A941F#FFFFFF#000000##000000
##4A941F1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#468E7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a941f;
/* rgb */ color: rgb(74, 148, 31);
/* oklch */ color: oklch(59.6% 0.165 136.9);
Tailwind
colors: {
  custom: {
    50: '#84b465',
    500: '#4a941f',
    950: '#000000',
  },
}
SCSS
$custom: #4a941f;
$custom-light: #84b465;
$custom-dark: #000000;
JSON
{
  "hex": "#4a941f",
  "rgb": {
    "r": 74,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 97.949,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.16474,
    "h": 136.9
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#4A941F
secondary
#9651BE
accent
#3FE8AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A941F

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

Preview Lab → · Contrast checker → · Palette generator →

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