#3A450B#3A450B

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

Color values

HEX#3A450B
RGBrgb(58, 69, 11)
HSLhsl(71, 73%, 16%)
HSVhsv(71, 84%, 27%)
CMYKcmyk(15.9%, 0%, 84.1%, 72.9%)
CIE-LABlab(27.24, -13.44, 31.20)
CIE-LCHlch(27.24, 33.97, 113.30°)
OKLaboklab(36.82% -0.0399 0.0689)
OKLCHoklch(36.82% 0.08 120.1)
XYZxyz(3.9335, 5.1800, 1.1092)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A450B #160B45
analogous
#45330B #3A450B #1D450B
triadic
#3A450B #0B3A45 #450B3A
tetradic
#3A450B #0B4533 #160B45 #450B1D
square
#3A450B #0B4533 #160B45 #450B1D
split-complementary
#3A450B #0B1D45 #330B45
monochromatic
#161A04 #161A04 #3A450B #667A13 #93AF1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A450B#FFFFFF#000000##FFFFFF
##3A450B1.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)
#4A4002
Deuteranopia (green-blind)
#494010
Tritanopia (blue-blind)
#3E413A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a450b;
/* rgb */ color: rgb(58, 69, 11);
/* oklch */ color: oklch(36.8% 0.080 120.1);
Tailwind
colors: {
  custom: {
    50: '#72784f',
    500: '#3a450b',
    950: '#000000',
  },
}
SCSS
$custom: #3a450b;
$custom-light: #72784f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a450b",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 71.379,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36819,
    "c": 0.07961,
    "h": 120.1
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#3A450B
secondary
#3B2A81
accent
#39EF5B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A450B

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

Preview Lab → · Contrast checker → · Palette generator →

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