#3A3D08#3A3D08

#3A3D08 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.6% C 0.071 H 112.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#3A3D08
RGBrgb(58, 61, 8)
HSLhsl(63, 77%, 14%)
HSVhsv(63, 87%, 24%)
CMYKcmyk(4.9%, 0%, 86.9%, 76.1%)
CIE-LABlab(24.50, -8.88, 29.81)
CIE-LCHlch(24.50, 31.10, 106.59°)
OKLaboklab(34.61% -0.0276 0.0654)
OKLCHoklch(34.61% 0.071 112.9)
XYZxyz(3.4576, 4.2546, 0.8688)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3D08 #0B083D
analogous
#3D2508 #3A3D08 #1F3D08
triadic
#3A3D08 #083A3D #3D083A
tetradic
#3A3D08 #083D25 #0B083D #3D081F
square
#3A3D08 #083D25 #0B083D #3D081F
split-complementary
#3A3D08 #081F3D #25083D
monochromatic
#1A1B04 #1A1B04 #3A3D08 #6D730F #A1A916

Accessibility & contrast

On white

11.35
#3A3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3A3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3D08
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3D08#FFFFFF#000000##FFFFFF
##3A3D081.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A00
Deuteranopia (green-blind)
#423B0D
Tritanopia (blue-blind)
#3F3933
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3a3d08;
/* rgb */ color: rgb(58, 61, 8);
/* oklch */ color: oklch(34.6% 0.071 112.9);
Tailwind
colors: {
  custom: {
    50: '#72724c',
    500: '#3a3d08',
    950: '#000000',
  },
}
SCSS
$custom: #3a3d08;
$custom-light: #72724c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3d08",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 63.396,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34606,
    "c": 0.07099,
    "h": 112.9
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#3A3D08
secondary
#2A257C
accent
#34F33F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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