#3A3D0B#3A3D0B

#3A3D0B is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.6% C 0.069 H 112.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#3A3D0B
RGBrgb(58, 61, 11)
HSLhsl(64, 69%, 14%)
HSVhsv(64, 82%, 24%)
CMYKcmyk(4.9%, 0%, 82%, 76.1%)
CIE-LABlab(24.52, -8.71, 28.60)
CIE-LCHlch(24.52, 29.89, 106.93°)
OKLaboklab(34.63% -0.0268 0.0634)
OKLCHoklch(34.63% 0.069 112.9)
XYZxyz(3.4742, 4.2613, 0.9560)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3D0B #0E0B3D
analogous
#3D270B #3A3D0B #213D0B
triadic
#3A3D0B #0B3A3D #3D0B3A
tetradic
#3A3D0B #0B3D27 #0E0B3D #3D0B21
square
#3A3D0B #0B3D27 #0E0B3D #3D0B21
split-complementary
#3A3D0B #0B213D #270B3D
monochromatic
#191A05 #191A05 #3A3D0B #6B7114 #9DA51E

Accessibility & contrast

On white

11.34
#3A3D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3A3D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3D0B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3D0B#FFFFFF#000000##FFFFFF
##3A3D0B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A04
Deuteranopia (green-blind)
#423B0F
Tritanopia (blue-blind)
#3F3933
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3a3d0b;
/* rgb */ color: rgb(58, 61, 11);
/* oklch */ color: oklch(34.6% 0.069 112.9);
Tailwind
colors: {
  custom: {
    50: '#72724e',
    500: '#3a3d0b',
    950: '#000000',
  },
}
SCSS
$custom: #3a3d0b;
$custom-light: #72724e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3d0b",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 63.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3463,
    "c": 0.06884,
    "h": 112.9
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#3A3D0B
secondary
#2F2A7A
accent
#3CEC46
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #3A3D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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