#3A3B02#3A3B02

#3A3B02 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 34.0% C 0.073 H 110.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#3A3B02
RGBrgb(58, 59, 2)
HSLhsl(61, 93%, 12%)
HSVhsv(61, 97%, 23%)
CMYKcmyk(1.7%, 0%, 96.6%, 76.9%)
CIE-LABlab(23.78, -8.01, 31.54)
CIE-LCHlch(23.78, 32.54, 104.25°)
OKLaboklab(34.02% -0.0259 0.0683)
OKLCHoklch(34.02% 0.073 110.8)
XYZxyz(3.3200, 4.0320, 0.6608)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3B02 #03023B
analogous
#3B2002 #3A3B02 #1E3B02
triadic
#3A3B02 #023A3B #3B023A
tetradic
#3A3B02 #023B20 #03023B #3B021E
square
#3A3B02 #023B20 #03023B #3B021E
split-complementary
#3A3B02 #021E3B #20023B
monochromatic
#1D1E01 #1D1E01 #3A3B02 #747604 #AEB106

Accessibility & contrast

On white

11.63
#3A3B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3B02
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3B02#FFFFFF#000000##FFFFFF
##3A3B021.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#413906
Tritanopia (blue-blind)
#3F3631
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a3b02;
/* rgb */ color: rgb(58, 59, 2);
/* oklch */ color: oklch(34.0% 0.073 110.8);
Tailwind
colors: {
  custom: {
    50: '#737049',
    500: '#3a3b02',
    950: '#000000',
  },
}
SCSS
$custom: #3a3b02;
$custom-light: #737049;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3b02",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 61.053,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.34017,
    "c": 0.07307,
    "h": 110.8
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#3A3B02
secondary
#1C1A7E
accent
#29FF2D
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3B02

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

Preview Lab → · Contrast checker → · Palette generator →

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