#3A4F16#3A4F16

#3A4F16 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.7% C 0.086 H 127.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3A4F16
RGBrgb(58, 79, 22)
HSLhsl(82, 56%, 20%)
HSVhsv(82, 72%, 31%)
CMYKcmyk(26.6%, 0%, 72.2%, 69%)
CIE-LABlab(30.76, -18.21, 29.89)
CIE-LCHlch(30.76, 35.00, 121.34°)
OKLaboklab(39.69% -0.0519 0.0681)
OKLCHoklch(39.69% 0.086 127.3)
XYZxyz(4.6857, 6.5493, 1.7762)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4F16 #2B164F
analogous
#4F4816 #3A4F16 #1E4F16
triadic
#3A4F16 #163A4F #4F163A
tetradic
#3A4F16 #164F48 #2B164F #4F161E
square
#3A4F16 #164F48 #2B164F #4F161E
split-complementary
#3A4F16 #161E4F #48164F
monochromatic
#121807 #171F09 #3A4F16 #5D7F23 #80AF31

Accessibility & contrast

On white

9.09
#3A4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4F16
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4F16#FFFFFF#000000##FFFFFF
##3A4F161.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#3C4B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4f16;
/* rgb */ color: rgb(58, 79, 22);
/* oklch */ color: oklch(39.7% 0.086 127.3);
Tailwind
colors: {
  custom: {
    50: '#728057',
    500: '#3a4f16',
    950: '#000000',
  },
}
SCSS
$custom: #3a4f16;
$custom-light: #728057;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4f16",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 82.105,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.08564,
    "h": 127.3
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#3A4F16
secondary
#563A86
accent
#48E080
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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