#3A5A14#3A5A14

#3A5A14 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.103 H 131.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3A5A14
RGBrgb(58, 90, 20)
HSLhsl(87, 64%, 22%)
HSVhsv(87, 78%, 35%)
CMYKcmyk(35.6%, 0%, 77.8%, 64.7%)
CIE-LABlab(34.52, -24.06, 34.65)
CIE-LCHlch(34.52, 42.18, 124.78°)
OKLaboklab(42.74% -0.0681 0.0778)
OKLCHoklch(42.74% 0.103 131.2)
XYZxyz(5.5273, 8.2622, 1.9652)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5A14 #34145A
analogous
#5A5714 #3A5A14 #175A14
triadic
#3A5A14 #143A5A #5A143A
tetradic
#3A5A14 #145A57 #34145A #5A1417
square
#3A5A14 #145A57 #34145A #5A1417
split-complementary
#3A5A14 #14175A #57145A
monochromatic
#101906 #1A2809 #3A5A14 #5A8C1F #7BBE2A

Accessibility & contrast

On white

7.92
#3A5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A5A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5A14
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5A14#FFFFFF#000000##FFFFFF
##3A5A141.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5307
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#3B564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a5a14;
/* rgb */ color: rgb(58, 90, 20);
/* oklch */ color: oklch(42.7% 0.103 131.2);
Tailwind
colors: {
  custom: {
    50: '#738957',
    500: '#3a5a14',
    950: '#000000',
  },
}
SCSS
$custom: #3a5a14;
$custom-light: #738957;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5a14",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 87.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.10337,
    "h": 131.2
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#3A5A14
secondary
#613892
accent
#41E78D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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