#3A801C#3A801C

#3A801C is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.149 H 138.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A801C
RGBrgb(58, 128, 28)
HSLhsl(102, 64%, 31%)
HSVhsv(102, 78%, 50%)
CMYKcmyk(54.7%, 0%, 78.1%, 49.8%)
CIE-LABlab(47.52, -40.36, 44.40)
CIE-LCHlch(47.52, 60.00, 132.27°)
OKLaboklab(53.42% -0.1115 0.0995)
OKLCHoklch(53.42% 0.149 138.3)
XYZxyz(9.6733, 16.4210, 3.7582)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A801C #621C80
analogous
#6C801C #3A801C #1C8030
triadic
#3A801C #1C3A80 #801C3A
tetradic
#3A801C #1C6C80 #621C80 #80301C
square
#3A801C #1C6C80 #621C80 #80301C
split-complementary
#3A801C #301C80 #801C6C
monochromatic
#0C1C06 #234E11 #3A801C #51B227 #6ED541

Accessibility & contrast

On white

4.90
#3A801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A801C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A801C#FFFFFF#000000##FFFFFF
##3A801C1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#347B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a801c;
/* rgb */ color: rgb(58, 128, 28);
/* oklch */ color: oklch(53.4% 0.149 138.3);
Tailwind
colors: {
  custom: {
    50: '#78a560',
    500: '#3a801c',
    950: '#000000',
  },
}
SCSS
$custom: #3a801c;
$custom-light: #78a560;
$custom-dark: #000000;
JSON
{
  "hex": "#3a801c",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 102,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.14942,
    "h": 138.3
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#3A801C
secondary
#9244B3
accent
#41E7B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A801C

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

Preview Lab → · Contrast checker → · Palette generator →

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