#3A5E16#3A5E16

#3A5E16 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.9% C 0.108 H 132.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3A5E16
RGBrgb(58, 94, 22)
HSLhsl(90, 62%, 23%)
HSVhsv(90, 77%, 37%)
CMYKcmyk(38.3%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.91, -25.87, 35.21)
CIE-LCHlch(35.91, 43.69, 126.31°)
OKLaboklab(43.88% -0.0728 0.0793)
OKLCHoklch(43.88% 0.108 132.6)
XYZxyz(5.8924, 8.9626, 2.1784)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5E16 #3A165E
analogous
#5E5E16 #3A5E16 #165E16
triadic
#3A5E16 #163A5E #5E163A
tetradic
#3A5E16 #165E5E #3A165E #5E1616
square
#3A5E16 #165E5E #3A165E #5E1616
split-complementary
#3A5E16 #16165E #5E165E
monochromatic
#0F1906 #1B2C0A #3A5E16 #599022 #77C12D

Accessibility & contrast

On white

7.52
#3A5E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A5E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5E16
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5E16#FFFFFF#000000##FFFFFF
##3A5E161.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560A
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#3B5A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5e16;
/* rgb */ color: rgb(58, 94, 22);
/* oklch */ color: oklch(43.9% 0.108 132.6);
Tailwind
colors: {
  custom: {
    50: '#748c58',
    500: '#3a5e16',
    950: '#000000',
  },
}
SCSS
$custom: #3a5e16;
$custom-light: #748c58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5e16",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.10766,
    "h": 132.6
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#3A5E16
secondary
#683B95
accent
#43E594
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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