#3A5F16#3A5F16

#3A5F16 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.109 H 132.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3A5F16
RGBrgb(58, 95, 22)
HSLhsl(90, 62%, 23%)
HSVhsv(90, 77%, 37%)
CMYKcmyk(38.9%, 0%, 76.8%, 62.7%)
CIE-LABlab(36.26, -26.35, 35.55)
CIE-LCHlch(36.26, 44.26, 126.55°)
OKLaboklab(44.16% -0.0741 0.08)
OKLCHoklch(44.16% 0.109 132.8)
XYZxyz(5.9819, 9.1416, 2.2082)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5F16 #3B165F
analogous
#5E5F16 #3A5F16 #165F16
triadic
#3A5F16 #163A5F #5F163A
tetradic
#3A5F16 #165E5F #3B165F #5F1616
square
#3A5F16 #165E5F #3B165F #5F1616
split-complementary
#3A5F16 #16165F #5F165E
monochromatic
#0F1906 #1C2D0A #3A5F16 #589122 #77C22D

Accessibility & contrast

On white

7.42
#3A5F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A5F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5F16
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5F16#FFFFFF#000000##FFFFFF
##3A5F161.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#3A5B51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a5f16;
/* rgb */ color: rgb(58, 95, 22);
/* oklch */ color: oklch(44.2% 0.109 132.8);
Tailwind
colors: {
  custom: {
    50: '#748c59',
    500: '#3a5f16',
    950: '#000000',
  },
}
SCSS
$custom: #3a5f16;
$custom-light: #748c59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5f16",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 90.411,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.10909,
    "h": 132.8
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#3A5F16
secondary
#693B96
accent
#42E595
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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