#3A450F#3A450F

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

Color values

HEX#3A450F
RGBrgb(58, 69, 15)
HSLhsl(72, 64%, 16%)
HSVhsv(72, 78%, 27%)
CMYKcmyk(15.9%, 0%, 78.3%, 72.9%)
CIE-LABlab(27.27, -13.18, 29.55)
CIE-LCHlch(27.27, 32.35, 114.05°)
OKLaboklab(36.85% -0.0388 0.0662)
OKLCHoklch(36.85% 0.077 120.4)
XYZxyz(3.9593, 5.1903, 1.2451)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A450F #1A0F45
analogous
#45350F #3A450F #1F450F
triadic
#3A450F #0F3A45 #450F3A
tetradic
#3A450F #0F4535 #1A0F45 #450F1F
square
#3A450F #0F4535 #1A0F45 #450F1F
split-complementary
#3A450F #0F1F45 #350F45
monochromatic
#151905 #151905 #3A450F #64771A #8FAA25

Accessibility & contrast

On white

10.30
#3A450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A450F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A450F#FFFFFF#000000##FFFFFF
##3A450F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a450f;
/* rgb */ color: rgb(58, 69, 15);
/* oklch */ color: oklch(36.9% 0.077 120.4);
Tailwind
colors: {
  custom: {
    50: '#727851',
    500: '#3a450f',
    950: '#000000',
  },
}
SCSS
$custom: #3a450f;
$custom-light: #727851;
$custom-dark: #000000;
JSON
{
  "hex": "#3a450f",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 72.222,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.07672,
    "h": 120.4
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#3A450F
secondary
#40307F
accent
#41E762
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A450F

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

Preview Lab → · Contrast checker → · Palette generator →

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