#3A3C08#3A3C08

#3A3C08 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#3A3C08
RGBrgb(58, 60, 8)
HSLhsl(62, 76%, 13%)
HSVhsv(62, 87%, 24%)
CMYKcmyk(3.3%, 0%, 86.7%, 76.5%)
CIE-LABlab(24.16, -8.27, 29.48)
CIE-LCHlch(24.16, 30.62, 105.67°)
OKLaboklab(34.34% -0.0259 0.0647)
OKLCHoklch(34.34% 0.07 111.8)
XYZxyz(3.4047, 4.1489, 0.8511)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3C08 #0A083C
analogous
#3C2408 #3A3C08 #203C08
triadic
#3A3C08 #083A3C #3C083A
tetradic
#3A3C08 #083C24 #0A083C #3C0820
square
#3A3C08 #083C24 #0A083C #3C0820
split-complementary
#3A3C08 #08203C #24083C
monochromatic
#1A1B04 #1A1B04 #3A3C08 #6E720F #A2A816

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3C08#FFFFFF#000000##FFFFFF
##3A3C081.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)
#413901
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#3F3832
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a3c08;
/* rgb */ color: rgb(58, 60, 8);
/* oklch */ color: oklch(34.3% 0.070 111.8);
Tailwind
colors: {
  custom: {
    50: '#72714c',
    500: '#3a3c08',
    950: '#000000',
  },
}
SCSS
$custom: #3a3c08;
$custom-light: #72714c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3c08",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 62.308,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.06973,
    "h": 111.8
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#3A3C08
secondary
#28257B
accent
#35F33C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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