#4A951B#4A951B

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

Color values

HEX#4A951B
RGBrgb(74, 149, 27)
HSLhsl(97, 69%, 35%)
HSVhsv(97, 82%, 58%)
CMYKcmyk(50.3%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.10, -43.88, 52.15)
CIE-LCHlch(55.10, 68.16, 130.07°)
OKLaboklab(59.84% -0.1221 0.1153)
OKLCHoklch(59.84% 0.168 136.7)
XYZxyz(13.7689, 23.0289, 4.7562)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A951B #661B95
analogous
#87951B #4A951B #1B9529
triadic
#4A951B #1B4A95 #951B4A
tetradic
#4A951B #1B8795 #661B95 #95291B
square
#4A951B #1B8795 #661B95 #95291B
split-complementary
#4A951B #291B95 #951B87
monochromatic
#172D08 #306112 #4A951B #64C924 #84DF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A951B#FFFFFF#000000##000000
##4A951B1.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: #4a951b;
/* rgb */ color: rgb(74, 149, 27);
/* oklch */ color: oklch(59.8% 0.168 136.7);
Tailwind
colors: {
  custom: {
    50: '#84b563',
    500: '#4a951b',
    950: '#000000',
  },
}
SCSS
$custom: #4a951b;
$custom-light: #84b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4a951b",
  "rgb": {
    "r": 74,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 96.885,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.16794,
    "h": 136.7
  },
  "luminance": 0.2303
}

Semantic roles & 50–950 ramp

primary
#4A951B
secondary
#934BC1
accent
#3CECA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A951B

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

Preview Lab → · Contrast checker → · Palette generator →

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