#3A450E#3A450E

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

Color values

HEX#3A450E
RGBrgb(58, 69, 14)
HSLhsl(72, 66%, 16%)
HSVhsv(72, 80%, 27%)
CMYKcmyk(15.9%, 0%, 79.7%, 72.9%)
CIE-LABlab(27.26, -13.25, 29.98)
CIE-LCHlch(27.26, 32.78, 113.85°)
OKLaboklab(36.84% -0.0391 0.0669)
OKLCHoklch(36.84% 0.077 120.3)
XYZxyz(3.9524, 5.1875, 1.2085)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A450E #190E45
analogous
#45350E #3A450E #1F450E
triadic
#3A450E #0E3A45 #450E3A
tetradic
#3A450E #0E4535 #190E45 #450E1F
square
#3A450E #0E4535 #190E45 #450E1F
split-complementary
#3A450E #0E1F45 #350E45
monochromatic
#151905 #151905 #3A450E #657818 #90AB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A450E#FFFFFF#000000##FFFFFF
##3A450E1.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)
#4A4105
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#3E413A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a450e;
/* rgb */ color: rgb(58, 69, 14);
/* oklch */ color: oklch(36.8% 0.077 120.3);
Tailwind
colors: {
  custom: {
    50: '#727851',
    500: '#3a450e',
    950: '#000000',
  },
}
SCSS
$custom: #3a450e;
$custom-light: #727851;
$custom-dark: #000000;
JSON
{
  "hex": "#3a450e",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 72,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.07749,
    "h": 120.3
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#3A450E
secondary
#3F2F80
accent
#3FE961
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A450E

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

Preview Lab → · Contrast checker → · Palette generator →

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