#3A3E08#3A3E08

#3A3E08 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 34.9% C 0.072 H 113.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3A3E08
RGBrgb(58, 62, 8)
HSLhsl(64, 77%, 14%)
HSVhsv(64, 87%, 24%)
CMYKcmyk(6.5%, 0%, 87.1%, 75.7%)
CIE-LABlab(24.84, -9.48, 30.14)
CIE-LCHlch(24.84, 31.59, 107.47°)
OKLaboklab(34.88% -0.0293 0.0661)
OKLCHoklch(34.88% 0.072 113.9)
XYZxyz(3.5115, 4.3624, 0.8867)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3E08 #0C083E
analogous
#3E2708 #3A3E08 #1F3E08
triadic
#3A3E08 #083A3E #3E083A
tetradic
#3A3E08 #083E27 #0C083E #3E081F
square
#3A3E08 #083E27 #0C083E #3E081F
split-complementary
#3A3E08 #081F3E #27083E
monochromatic
#191B03 #191B03 #3A3E08 #6D740F #9FAA16

Accessibility & contrast

On white

11.22
#3A3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3A3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3E08
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3E08#FFFFFF#000000##FFFFFF
##3A3E081.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#3F3A34
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a3e08;
/* rgb */ color: rgb(58, 62, 8);
/* oklch */ color: oklch(34.9% 0.072 113.9);
Tailwind
colors: {
  custom: {
    50: '#72734d',
    500: '#3a3e08',
    950: '#000000',
  },
}
SCSS
$custom: #3a3e08;
$custom-light: #72734d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3e08",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 64.444,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34878,
    "c": 0.07227,
    "h": 113.9
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#3A3E08
secondary
#2C257D
accent
#34F442
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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