#3A3E12#3A3E12

#3A3E12 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.0% C 0.064 H 114.1°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3A3E12
RGBrgb(58, 62, 18)
HSLhsl(65, 55%, 16%)
HSVhsv(65, 71%, 24%)
CMYKcmyk(6.5%, 0%, 71%, 75.7%)
CIE-LABlab(24.92, -8.81, 25.66)
CIE-LCHlch(24.92, 27.13, 108.95°)
OKLaboklab(34.97% -0.0262 0.0586)
OKLCHoklch(34.97% 0.064 114.1)
XYZxyz(3.5768, 4.3885, 1.2308)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3E12 #16123E
analogous
#3E2C12 #3A3E12 #243E12
triadic
#3A3E12 #123A3E #3E123A
tetradic
#3A3E12 #123E2C #16123E #3E1224
square
#3A3E12 #123E2C #16123E #3E1224
split-complementary
#3A3E12 #12243E #2C123E
monochromatic
#161807 #161807 #3A3E12 #666D20 #939D2E

Accessibility & contrast

On white

11.18
#3A3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3A3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3E12
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3E12#FFFFFF#000000##FFFFFF
##3A3E121.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3e12;
/* rgb */ color: rgb(58, 62, 18);
/* oklch */ color: oklch(35.0% 0.064 114.1);
Tailwind
colors: {
  custom: {
    50: '#727352',
    500: '#3a3e12',
    950: '#000000',
  },
}
SCSS
$custom: #3a3e12;
$custom-light: #727352;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3e12",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 65.455,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.06417,
    "h": 114.1
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#3A3E12
secondary
#3B3577
accent
#49DE57
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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