#3A3F0E#3A3F0E

#3A3F0E is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.2% C 0.069 H 115.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3A3F0E
RGBrgb(58, 63, 14)
HSLhsl(66, 64%, 15%)
HSVhsv(66, 78%, 25%)
CMYKcmyk(7.9%, 0%, 77.8%, 75.3%)
CIE-LABlab(25.22, -9.72, 27.94)
CIE-LCHlch(25.22, 29.58, 109.18°)
OKLaboklab(35.2% -0.0293 0.0626)
OKLCHoklch(35.2% 0.069 115)
XYZxyz(3.6018, 4.4863, 1.0916)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3F0E #130E3F
analogous
#3F2B0E #3A3F0E #223F0E
triadic
#3A3F0E #0E3A3F #3F0E3A
tetradic
#3A3F0E #0E3F2B #130E3F #3F0E22
square
#3A3F0E #0E3F2B #130E3F #3F0E22
split-complementary
#3A3F0E #0E223F #2B0E3F
monochromatic
#171906 #171906 #3A3F0E #687119 #96A324

Accessibility & contrast

On white

11.07
#3A3F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3A3F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3F0E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3F0E#FFFFFF#000000##FFFFFF
##3A3F0E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3f0e;
/* rgb */ color: rgb(58, 63, 14);
/* oklch */ color: oklch(35.2% 0.069 115.0);
Tailwind
colors: {
  custom: {
    50: '#727350',
    500: '#3a3f0e',
    950: '#000000',
  },
}
SCSS
$custom: #3a3f0e;
$custom-light: #727350;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3f0e",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 66.122,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.06914,
    "h": 115
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#3A3F0E
secondary
#362F7A
accent
#41E752
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A3F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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