#3A8013#3A8013

#3A8013 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.4% C 0.154 H 137.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8013
RGBrgb(58, 128, 19)
HSLhsl(99, 74%, 29%)
HSVhsv(99, 85%, 50%)
CMYKcmyk(54.7%, 0%, 85.2%, 49.8%)
CIE-LABlab(47.47, -40.90, 47.25)
CIE-LCHlch(47.47, 62.49, 130.88°)
OKLaboklab(53.37% -0.1135 0.104)
OKLCHoklch(53.37% 0.154 137.5)
XYZxyz(9.5813, 16.3842, 3.2735)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8013 #591380
analogous
#718013 #3A8013 #138023
triadic
#3A8013 #133A80 #80133A
tetradic
#3A8013 #137180 #591380 #802313
square
#3A8013 #137180 #591380 #802313
split-complementary
#3A8013 #231380 #801371
monochromatic
#0C1B04 #224B0B #3A8013 #52B51B #6DE02D

Accessibility & contrast

On white

4.91
#3A8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A8013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8013
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8013#FFFFFF#000000##FFFFFF
##3A80131.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6E21
Tritanopia (blue-blind)
#357B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8013;
/* rgb */ color: rgb(58, 128, 19);
/* oklch */ color: oklch(53.4% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#79a55c',
    500: '#3a8013',
    950: '#000000',
  },
}
SCSS
$custom: #3a8013;
$custom-light: #79a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8013",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 98.532,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.15396,
    "h": 137.5
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

primary
#3A8013
secondary
#8939B5
accent
#37F1AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3A8013

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

Preview Lab → · Contrast checker → · Palette generator →

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