#3A3D07#3A3D07

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

Color values

HEX#3A3D07
RGBrgb(58, 61, 7)
HSLhsl(63, 79%, 13%)
HSVhsv(63, 89%, 24%)
CMYKcmyk(4.9%, 0%, 88.5%, 76.1%)
CIE-LABlab(24.49, -8.94, 30.21)
CIE-LCHlch(24.49, 31.50, 106.48°)
OKLaboklab(34.6% -0.0279 0.0661)
OKLCHoklch(34.6% 0.072 112.9)
XYZxyz(3.4521, 4.2524, 0.8399)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3D07 #0A073D
analogous
#3D2507 #3A3D07 #1F3D07
triadic
#3A3D07 #073A3D #3D073A
tetradic
#3A3D07 #073D25 #0A073D #3D071F
square
#3A3D07 #073D25 #0A073D #3D071F
split-complementary
#3A3D07 #071F3D #25073D
monochromatic
#1A1B03 #1A1B03 #3A3D07 #6E740D #A2AB14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3D07#FFFFFF#000000##FFFFFF
##3A3D071.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)
#423B0C
Tritanopia (blue-blind)
#3F3933
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3a3d07;
/* rgb */ color: rgb(58, 61, 7);
/* oklch */ color: oklch(34.6% 0.072 112.9);
Tailwind
colors: {
  custom: {
    50: '#72724c',
    500: '#3a3d07',
    950: '#000000',
  },
}
SCSS
$custom: #3a3d07;
$custom-light: #72724c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3d07",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 63.333,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.07171,
    "h": 112.9
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#3A3D07
secondary
#28237C
accent
#32F63D
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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