#3A3F08#3A3F08

#3A3F08 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.1% C 0.074 H 114.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#3A3F08
RGBrgb(58, 63, 8)
HSLhsl(65, 77%, 14%)
HSVhsv(65, 87%, 25%)
CMYKcmyk(7.9%, 0%, 87.3%, 75.3%)
CIE-LABlab(25.17, -10.09, 30.46)
CIE-LCHlch(25.17, 32.09, 108.32°)
OKLaboklab(35.15% -0.0309 0.0667)
OKLCHoklch(35.15% 0.074 114.9)
XYZxyz(3.5664, 4.4722, 0.9050)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3F08 #0D083F
analogous
#3F2908 #3A3F08 #1F3F08
triadic
#3A3F08 #083A3F #3F083A
tetradic
#3A3F08 #083F29 #0D083F #3F081F
square
#3A3F08 #083F29 #0D083F #3F081F
split-complementary
#3A3F08 #081F3F #29083F
monochromatic
#191B03 #191B03 #3A3F08 #6C750F #9EAC16

Accessibility & contrast

On white

11.09
#3A3F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3A3F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3F08
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3F08#FFFFFF#000000##FFFFFF
##3A3F081.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#443C0D
Tritanopia (blue-blind)
#3E3B35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a3f08;
/* rgb */ color: rgb(58, 63, 8);
/* oklch */ color: oklch(35.1% 0.074 114.9);
Tailwind
colors: {
  custom: {
    50: '#72734d',
    500: '#3a3f08',
    950: '#000000',
  },
}
SCSS
$custom: #3a3f08;
$custom-light: #72734d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3f08",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 65.455,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.07355,
    "h": 114.9
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#3A3F08
secondary
#2D257E
accent
#34F445
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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