#3A4005#3A4005

#3A4005 is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.4% C 0.077 H 115.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3A4005
RGBrgb(58, 64, 5)
HSLhsl(66, 86%, 14%)
HSVhsv(66, 92%, 25%)
CMYKcmyk(9.4%, 0%, 92.2%, 74.9%)
CIE-LABlab(25.49, -10.85, 31.98)
CIE-LCHlch(25.49, 33.77, 108.74°)
OKLaboklab(35.4% -0.0334 0.0693)
OKLCHoklch(35.4% 0.077 115.7)
XYZxyz(3.6058, 4.5773, 0.8371)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4005 #0B0540
analogous
#402805 #3A4005 #1C4005
triadic
#3A4005 #053A40 #40053A
tetradic
#3A4005 #054028 #0B0540 #40051C
square
#3A4005 #054028 #0B0540 #40051C
split-complementary
#3A4005 #051C40 #280540
monochromatic
#1A1C02 #1A1C02 #3A4005 #6D7909 #A1B20E

Accessibility & contrast

On white

10.96
#3A4005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A4005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4005
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4005#FFFFFF#000000##FFFFFF
##3A40051.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#453D0A
Tritanopia (blue-blind)
#3E3C35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a4005;
/* rgb */ color: rgb(58, 64, 5);
/* oklch */ color: oklch(35.4% 0.077 115.7);
Tailwind
colors: {
  custom: {
    50: '#73744b',
    500: '#3a4005',
    950: '#000000',
  },
}
SCSS
$custom: #3a4005;
$custom-light: #73744b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4005",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 66.102,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.07694,
    "h": 115.7
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#3A4005
secondary
#2A2081
accent
#2CFC41
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A4005

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

Preview Lab → · Contrast checker → · Palette generator →

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