#3A4212#3A4212

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

Color values

HEX#3A4212
RGBrgb(58, 66, 18)
HSLhsl(70, 57%, 16%)
HSVhsv(70, 73%, 26%)
CMYKcmyk(12.1%, 0%, 72.7%, 74.1%)
CIE-LABlab(26.27, -11.21, 27.10)
CIE-LCHlch(26.27, 29.33, 112.46°)
OKLaboklab(36.06% -0.0329 0.0616)
OKLCHoklch(36.06% 0.07 118.1)
XYZxyz(3.8024, 4.8397, 1.3060)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4212 #1A1242
analogous
#423212 #3A4212 #224212
triadic
#3A4212 #123A42 #42123A
tetradic
#3A4212 #124232 #1A1242 #421222
square
#3A4212 #124232 #1A1242 #421222
split-complementary
#3A4212 #122242 #321242
monochromatic
#151807 #151807 #3A4212 #64721F #8FA22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4212#FFFFFF#000000##FFFFFF
##3A42121.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)
#473E0C
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#3E3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a4212;
/* rgb */ color: rgb(58, 66, 18);
/* oklch */ color: oklch(36.1% 0.070 118.1);
Tailwind
colors: {
  custom: {
    50: '#727653',
    500: '#3a4212',
    950: '#000000',
  },
}
SCSS
$custom: #3a4212;
$custom-light: #727653;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4212",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 70,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36057,
    "c": 0.06986,
    "h": 118.1
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#3A4212
secondary
#40357B
accent
#47E061
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A4212

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

Preview Lab → · Contrast checker → · Palette generator →

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