#3B3B02#3B3B02

#3B3B02 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.1% C 0.073 H 109.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#3B3B02
RGBrgb(59, 59, 2)
HSLhsl(60, 93%, 12%)
HSVhsv(60, 97%, 23%)
CMYKcmyk(0%, 0%, 96.6%, 76.9%)
CIE-LABlab(23.88, -7.48, 31.68)
CIE-LCHlch(23.88, 32.55, 103.28°)
OKLaboklab(34.12% -0.0245 0.0685)
OKLCHoklch(34.12% 0.073 109.7)
XYZxyz(3.3787, 4.0622, 0.6635)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3B02 #02023B
analogous
#3B1F02 #3B3B02 #1F3B02
triadic
#3B3B02 #023B3B #3B023B
tetradic
#3B3B02 #023B1F #02023B #3B021F
square
#3B3B02 #023B1F #02023B #3B021F
split-complementary
#3B3B02 #021F3B #1F023B
monochromatic
#1E1E01 #1E1E01 #3B3B02 #767604 #B1B106

Accessibility & contrast

On white

11.59
#3B3B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3B3B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3B02
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3B02#FFFFFF#000000##FFFFFF
##3B3B021.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#413A06
Tritanopia (blue-blind)
#403631
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3b3b02;
/* rgb */ color: rgb(59, 59, 2);
/* oklch */ color: oklch(34.1% 0.073 109.7);
Tailwind
colors: {
  custom: {
    50: '#737049',
    500: '#3b3b02',
    950: '#000000',
  },
}
SCSS
$custom: #3b3b02;
$custom-light: #737049;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3b02",
  "rgb": {
    "r": 59,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.3412,
    "c": 0.07277,
    "h": 109.7
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#3B3B02
secondary
#1A1A7E
accent
#29FF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3B3B02

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

Preview Lab → · Contrast checker → · Palette generator →

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