#3B420C#3B420C

#3B420C is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.1% C 0.074 H 116.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3B420C
RGBrgb(59, 66, 12)
HSLhsl(68, 69%, 15%)
HSVhsv(68, 82%, 26%)
CMYKcmyk(10.6%, 0%, 81.8%, 74.1%)
CIE-LABlab(26.31, -11.13, 29.93)
CIE-LCHlch(26.31, 31.94, 110.40°)
OKLaboklab(36.09% -0.0335 0.0664)
OKLCHoklch(36.09% 0.074 116.8)
XYZxyz(3.8183, 4.8528, 1.0833)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B420C #130C42
analogous
#422E0C #3B420C #20420C
triadic
#3B420C #0C3B42 #420C3B
tetradic
#3B420C #0C422E #130C42 #420C20
square
#3B420C #0C422E #130C42 #420C20
split-complementary
#3B420C #0C2042 #2E0C42
monochromatic
#171A05 #171A05 #3B420C #697615 #98AA1F

Accessibility & contrast

On white

10.66
#3B420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3B420C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B420C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B420C#FFFFFF#000000##FFFFFF
##3B420C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E04
Deuteranopia (green-blind)
#463F10
Tritanopia (blue-blind)
#3F3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b420c;
/* rgb */ color: rgb(59, 66, 12);
/* oklch */ color: oklch(36.1% 0.074 116.8);
Tailwind
colors: {
  custom: {
    50: '#73764f',
    500: '#3b420c',
    950: '#000000',
  },
}
SCSS
$custom: #3b420c;
$custom-light: #73764f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b420c",
  "rgb": {
    "r": 59,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 67.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36094,
    "c": 0.07437,
    "h": 116.8
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#3B420C
secondary
#362C7E
accent
#3CEC53
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3B420C

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

Preview Lab → · Contrast checker → · Palette generator →

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