#3A4215#3A4215

#3A4215 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.067 H 118.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3A4215
RGBrgb(58, 66, 21)
HSLhsl(71, 52%, 17%)
HSVhsv(71, 68%, 26%)
CMYKcmyk(12.1%, 0%, 68.2%, 74.1%)
CIE-LABlab(26.30, -10.94, 25.60)
CIE-LCHlch(26.30, 27.84, 113.15°)
OKLaboklab(36.09% -0.0319 0.0589)
OKLCHoklch(36.09% 0.067 118.4)
XYZxyz(3.8286, 4.8501, 1.4438)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4215 #1D1542
analogous
#423415 #3A4215 #244215
triadic
#3A4215 #153A42 #42153A
tetradic
#3A4215 #154234 #1D1542 #421524
square
#3A4215 #154234 #1D1542 #421524
split-complementary
#3A4215 #152442 #341542
monochromatic
#141707 #141707 #3A4215 #637024 #8C9F33

Accessibility & contrast

On white

10.66
#3A4215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A4215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4215
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4215#FFFFFF#000000##FFFFFF
##3A42151.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E10
Deuteranopia (green-blind)
#463E18
Tritanopia (blue-blind)
#3E3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a4215;
/* rgb */ color: rgb(58, 66, 21);
/* oklch */ color: oklch(36.1% 0.067 118.4);
Tailwind
colors: {
  custom: {
    50: '#727654',
    500: '#3a4215',
    950: '#000000',
  },
}
SCSS
$custom: #3a4215;
$custom-light: #727654;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4215",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 21
  },
  "hsl": {
    "h": 70.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36091,
    "c": 0.06697,
    "h": 118.4
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#3A4215
secondary
#45397A
accent
#4DDB66
background
#F7F7F4
surface
#EDEDE8
border
#C8C8C4
text
#080803
muted
#7B7B78

Preview Lab

Preview with #3A4215

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

Preview Lab → · Contrast checker → · Palette generator →

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