#3A5D16#3A5D16

#3A5D16 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.6% C 0.106 H 132.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3A5D16
RGBrgb(58, 93, 22)
HSLhsl(90, 62%, 23%)
HSVhsv(90, 76%, 36%)
CMYKcmyk(37.6%, 0%, 76.3%, 63.5%)
CIE-LABlab(35.57, -25.38, 34.86)
CIE-LCHlch(35.57, 43.13, 126.06°)
OKLaboklab(43.6% -0.0715 0.0786)
OKLCHoklch(43.6% 0.106 132.3)
XYZxyz(5.8040, 8.7859, 2.1489)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5D16 #39165D
analogous
#5D5C16 #3A5D16 #175D16
triadic
#3A5D16 #163A5D #5D163A
tetradic
#3A5D16 #165D5C #39165D #5D1617
square
#3A5D16 #165D5C #39165D #5D1617
split-complementary
#3A5D16 #16175D #5C165D
monochromatic
#0F1906 #1B2C0A #3A5D16 #598E22 #78C02D

Accessibility & contrast

On white

7.62
#3A5D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A5D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5D16
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5D16#FFFFFF#000000##FFFFFF
##3A5D161.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#3B594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5d16;
/* rgb */ color: rgb(58, 93, 22);
/* oklch */ color: oklch(43.6% 0.106 132.3);
Tailwind
colors: {
  custom: {
    50: '#738b58',
    500: '#3a5d16',
    950: '#000000',
  },
}
SCSS
$custom: #3a5d16;
$custom-light: #738b58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5d16",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 89.577,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.10623,
    "h": 132.3
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#3A5D16
secondary
#673B94
accent
#43E593
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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