#4A8013#4A8013

#4A8013 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.146 H 133.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4A8013
RGBrgb(74, 128, 19)
HSLhsl(90, 74%, 29%)
HSVhsv(90, 85%, 50%)
CMYKcmyk(42.2%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.19, -35.53, 48.16)
CIE-LCHlch(48.19, 59.85, 126.42°)
OKLaboklab(54.15% -0.1002 0.1056)
OKLCHoklch(54.15% 0.146 133.5)
XYZxyz(10.6606, 16.9407, 3.3241)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8013 #491380
analogous
#808013 #4A8013 #138013
triadic
#4A8013 #134A80 #80134A
tetradic
#4A8013 #138080 #491380 #801313
square
#4A8013 #138080 #491380 #801313
split-complementary
#4A8013 #131380 #801380
monochromatic
#0F1B04 #2B4B0B #4A8013 #69B51B #88E02D

Accessibility & contrast

On white

4.79
#4A8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4A8013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8013
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8013#FFFFFF#000000##FFFFFF
##4A80131.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a8013;
/* rgb */ color: rgb(74, 128, 19);
/* oklch */ color: oklch(54.1% 0.146 133.5);
Tailwind
colors: {
  custom: {
    50: '#82a55c',
    500: '#4a8013',
    950: '#000000',
  },
}
SCSS
$custom: #4a8013;
$custom-light: #82a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8013",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 89.725,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.14559,
    "h": 133.5
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#4A8013
secondary
#7739B5
accent
#37F193
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8013

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

Preview Lab → · Contrast checker → · Palette generator →

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