#3A3C07#3A3C07

#3A3C07 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.3% C 0.070 H 111.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#3A3C07
RGBrgb(58, 60, 7)
HSLhsl(62, 79%, 13%)
HSVhsv(62, 88%, 24%)
CMYKcmyk(3.3%, 0%, 88.3%, 76.5%)
CIE-LABlab(24.15, -8.33, 29.88)
CIE-LCHlch(24.15, 31.02, 105.58°)
OKLaboklab(34.33% -0.0262 0.0654)
OKLCHoklch(34.33% 0.07 111.8)
XYZxyz(3.3992, 4.1467, 0.8223)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3C07 #09073C
analogous
#3C2307 #3A3C07 #1F3C07
triadic
#3A3C07 #073A3C #3C073A
tetradic
#3A3C07 #073C23 #09073C #3C071F
square
#3A3C07 #073C23 #09073C #3C071F
split-complementary
#3A3C07 #071F3C #23073C
monochromatic
#1A1B03 #1A1B03 #3A3C07 #6F730D #A4AA14

Accessibility & contrast

On white

11.48
#3A3C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3A3C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3C07
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3C07#FFFFFF#000000##FFFFFF
##3A3C071.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#423A0B
Tritanopia (blue-blind)
#3F3832
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a3c07;
/* rgb */ color: rgb(58, 60, 7);
/* oklch */ color: oklch(34.3% 0.070 111.8);
Tailwind
colors: {
  custom: {
    50: '#72714c',
    500: '#3a3c07',
    950: '#000000',
  },
}
SCSS
$custom: #3a3c07;
$custom-light: #72714c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3c07",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 62.264,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34327,
    "c": 0.07047,
    "h": 111.8
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#3A3C07
secondary
#27237B
accent
#32F63A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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