#3A4213#3A4213

#3A4213 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 36.1% C 0.069 H 118.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3A4213
RGBrgb(58, 66, 19)
HSLhsl(70, 55%, 17%)
HSVhsv(70, 71%, 26%)
CMYKcmyk(12.1%, 0%, 71.2%, 74.1%)
CIE-LABlab(26.28, -11.12, 26.61)
CIE-LCHlch(26.28, 28.84, 112.68°)
OKLaboklab(36.07% -0.0326 0.0607)
OKLCHoklch(36.07% 0.069 118.2)
XYZxyz(3.8107, 4.8430, 1.3500)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4213 #1B1342
analogous
#423313 #3A4213 #234213
triadic
#3A4213 #133A42 #42133A
tetradic
#3A4213 #134233 #1B1342 #421323
square
#3A4213 #134233 #1B1342 #421323
split-complementary
#3A4213 #132342 #331342
monochromatic
#151807 #151807 #3A4213 #647221 #8EA12E

Accessibility & contrast

On white

10.67
#3A4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4213
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4213#FFFFFF#000000##FFFFFF
##3A42131.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4213;
/* rgb */ color: rgb(58, 66, 19);
/* oklch */ color: oklch(36.1% 0.069 118.2);
Tailwind
colors: {
  custom: {
    50: '#727653',
    500: '#3a4213',
    950: '#000000',
  },
}
SCSS
$custom: #3a4213;
$custom-light: #727653;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4213",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 70.213,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.06893,
    "h": 118.2
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#3A4213
secondary
#42367B
accent
#49DF63
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A4213

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

Preview Lab → · Contrast checker → · Palette generator →

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