#3A4810#3A4810

#3A4810 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.080 H 122.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3A4810
RGBrgb(58, 72, 16)
HSLhsl(75, 64%, 17%)
HSVhsv(75, 78%, 28%)
CMYKcmyk(19.4%, 0%, 77.8%, 71.8%)
CIE-LABlab(28.31, -14.82, 30.14)
CIE-LCHlch(28.31, 33.58, 116.19°)
OKLaboklab(37.69% -0.0432 0.0676)
OKLCHoklch(37.69% 0.08 122.6)
XYZxyz(4.1559, 5.5717, 1.3466)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4810 #1E1048
analogous
#483A10 #3A4810 #1E4810
triadic
#3A4810 #103A48 #48103A
tetradic
#3A4810 #10483A #1E1048 #48101E
square
#3A4810 #10483A #1E1048 #48101E
split-complementary
#3A4810 #101E48 #3A1048
monochromatic
#141906 #141906 #3A4810 #627A1B #8BAC26

Accessibility & contrast

On white

9.93
#3A4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A4810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4810
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4810#FFFFFF#000000##FFFFFF
##3A48101.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#3D443D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a4810;
/* rgb */ color: rgb(58, 72, 16);
/* oklch */ color: oklch(37.7% 0.080 122.6);
Tailwind
colors: {
  custom: {
    50: '#727b52',
    500: '#3a4810',
    950: '#000000',
  },
}
SCSS
$custom: #3a4810;
$custom-light: #727b52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4810",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 75,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37688,
    "c": 0.08024,
    "h": 122.6
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#3A4810
secondary
#463282
accent
#41E76B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4810

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

Preview Lab → · Contrast checker → · Palette generator →

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