#3A450C#3A450C

#3A450C is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.079 H 120.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3A450C
RGBrgb(58, 69, 12)
HSLhsl(72, 70%, 16%)
HSVhsv(72, 83%, 27%)
CMYKcmyk(15.9%, 0%, 82.6%, 72.9%)
CIE-LABlab(27.25, -13.38, 30.81)
CIE-LCHlch(27.25, 33.58, 113.47°)
OKLaboklab(36.83% -0.0396 0.0683)
OKLCHoklch(36.83% 0.079 120.1)
XYZxyz(3.9395, 5.1823, 1.1405)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A450C #170C45
analogous
#45330C #3A450C #1D450C
triadic
#3A450C #0C3A45 #450C3A
tetradic
#3A450C #0C4533 #170C45 #450C1D
square
#3A450C #0C4533 #170C45 #450C1D
split-complementary
#3A450C #0C1D45 #330C45
monochromatic
#161A05 #161A05 #3A450C #667915 #92AD1E

Accessibility & contrast

On white

10.31
#3A450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3A450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A450C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A450C#FFFFFF#000000##FFFFFF
##3A450C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#494011
Tritanopia (blue-blind)
#3E413A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a450c;
/* rgb */ color: rgb(58, 69, 12);
/* oklch */ color: oklch(36.8% 0.079 120.1);
Tailwind
colors: {
  custom: {
    50: '#727850',
    500: '#3a450c',
    950: '#000000',
  },
}
SCSS
$custom: #3a450c;
$custom-light: #727850;
$custom-dark: #000000;
JSON
{
  "hex": "#3a450c",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 71.579,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.07893,
    "h": 120.1
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#3A450C
secondary
#3C2C81
accent
#3BED5D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A450C

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

Preview Lab → · Contrast checker → · Palette generator →

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