#3A3A08#3A3A08

#3A3A08 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.8% C 0.067 H 109.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3A3A08
RGBrgb(58, 58, 8)
HSLhsl(60, 76%, 13%)
HSVhsv(60, 86%, 23%)
CMYKcmyk(0%, 0%, 86.2%, 77.3%)
CIE-LABlab(23.48, -7.04, 28.80)
CIE-LCHlch(23.48, 29.65, 103.73°)
OKLaboklab(33.8% -0.0225 0.0634)
OKLCHoklch(33.8% 0.067 109.5)
XYZxyz(3.3019, 3.9433, 0.8169)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3A08 #08083A
analogous
#3A2108 #3A3A08 #213A08
triadic
#3A3A08 #083A3A #3A083A
tetradic
#3A3A08 #083A21 #08083A #3A0821
square
#3A3A08 #083A21 #08083A #3A0821
split-complementary
#3A3A08 #08213A #21083A
monochromatic
#1B1B04 #1B1B04 #3A3A08 #70700F #A6A617

Accessibility & contrast

On white

11.74
#3A3A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3A3A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3A08
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3A08#FFFFFF#000000##FFFFFF
##3A3A081.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3701
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#3F3631
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a3a08;
/* rgb */ color: rgb(58, 58, 8);
/* oklch */ color: oklch(33.8% 0.067 109.5);
Tailwind
colors: {
  custom: {
    50: '#726f4c',
    500: '#3a3a08',
    950: '#000000',
  },
}
SCSS
$custom: #3a3a08;
$custom-light: #726f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3a08",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33796,
    "c": 0.06729,
    "h": 109.5
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#3A3A08
secondary
#252579
accent
#35F235
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3A08

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

Preview Lab → · Contrast checker → · Palette generator →

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