#4A951C#4A951C

#4A951C is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 59.8% C 0.167 H 136.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4A951C
RGBrgb(74, 149, 28)
HSLhsl(97, 68%, 35%)
HSVhsv(97, 81%, 58%)
CMYKcmyk(50.3%, 0%, 81.2%, 41.6%)
CIE-LABlab(55.11, -43.82, 51.86)
CIE-LCHlch(55.11, 67.89, 130.20°)
OKLaboklab(59.85% -0.1219 0.1148)
OKLCHoklch(59.85% 0.167 136.7)
XYZxyz(13.7807, 23.0336, 4.8182)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A951C #671C95
analogous
#87951C #4A951C #1C952A
triadic
#4A951C #1C4A95 #951C4A
tetradic
#4A951C #1C8795 #671C95 #952A1C
square
#4A951C #1C8795 #671C95 #952A1C
split-complementary
#4A951C #2A1C95 #951C87
monochromatic
#172E09 #306112 #4A951C #64C926 #84DE4E

Accessibility & contrast

On white

3.75
#4A951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A951C#FFFFFF#000000##000000
##4A951C1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a951c;
/* rgb */ color: rgb(74, 149, 28);
/* oklch */ color: oklch(59.8% 0.167 136.7);
Tailwind
colors: {
  custom: {
    50: '#84b563',
    500: '#4a951c',
    950: '#000000',
  },
}
SCSS
$custom: #4a951c;
$custom-light: #84b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4a951c",
  "rgb": {
    "r": 74,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 97.19,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.16746,
    "h": 136.7
  },
  "luminance": 0.23035
}

Semantic roles & 50–950 ramp

primary
#4A951C
secondary
#944DC0
accent
#3DEBA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A951C

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

Preview Lab → · Contrast checker → · Palette generator →

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