#4A8D13#4A8D13

#4A8D13 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.162 H 135.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4A8D13
RGBrgb(74, 141, 19)
HSLhsl(93, 76%, 31%)
HSVhsv(93, 87%, 55%)
CMYKcmyk(47.5%, 0%, 86.5%, 44.7%)
CIE-LABlab(52.46, -41.03, 51.95)
CIE-LCHlch(52.46, 66.20, 128.30°)
OKLaboklab(57.65% -0.1149 0.1137)
OKLCHoklch(57.65% 0.162 135.3)
XYZxyz(12.4662, 20.5518, 3.9260)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8D13 #56138D
analogous
#878D13 #4A8D13 #138D19
triadic
#4A8D13 #134A8D #8D134A
tetradic
#4A8D13 #13878D #56138D #8D1913
square
#4A8D13 #13878D #56138D #8D1913
split-complementary
#4A8D13 #19138D #8D1387
monochromatic
#112104 #2E570C #4A8D13 #66C31A #85E436

Accessibility & contrast

On white

4.11
#4A8D13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A8D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8D13
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8D13#FFFFFF#000000##000000
##4A8D131.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#488778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a8d13;
/* rgb */ color: rgb(74, 141, 19);
/* oklch */ color: oklch(57.7% 0.162 135.3);
Tailwind
colors: {
  custom: {
    50: '#84af5f',
    500: '#4a8d13',
    950: '#000000',
  },
}
SCSS
$custom: #4a8d13;
$custom-light: #84af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8d13",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 92.951,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.16163,
    "h": 135.3
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#4A8D13
secondary
#853BC1
accent
#35F39D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8D13

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

Preview Lab → · Contrast checker → · Palette generator →

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