#3A5A10#3A5A10

#3A5A10 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.106 H 130.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3A5A10
RGBrgb(58, 90, 16)
HSLhsl(86, 70%, 21%)
HSVhsv(86, 82%, 35%)
CMYKcmyk(35.6%, 0%, 82.2%, 64.7%)
CIE-LABlab(34.50, -24.33, 36.18)
CIE-LCHlch(34.50, 43.60, 123.91°)
OKLaboklab(42.71% -0.0691 0.0803)
OKLCHoklch(42.71% 0.106 130.7)
XYZxyz(5.4946, 8.2491, 1.7928)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5A10 #30105A
analogous
#5A5510 #3A5A10 #155A10
triadic
#3A5A10 #103A5A #5A103A
tetradic
#3A5A10 #105A55 #30105A #5A1015
square
#3A5A10 #105A55 #30105A #5A1015
split-complementary
#3A5A10 #10155A #55105A
monochromatic
#111A05 #192607 #3A5A10 #5B8E19 #7DC222

Accessibility & contrast

On white

7.93
#3A5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A5A10
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5A10#FFFFFF#000000##FFFFFF
##3A5A101.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5a10;
/* rgb */ color: rgb(58, 90, 16);
/* oklch */ color: oklch(42.7% 0.106 130.7);
Tailwind
colors: {
  custom: {
    50: '#748955',
    500: '#3a5a10',
    950: '#000000',
  },
}
SCSS
$custom: #3a5a10;
$custom-light: #748955;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5a10",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 85.946,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42713,
    "c": 0.10597,
    "h": 130.7
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#3A5A10
secondary
#5C3393
accent
#3BED88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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