#3B400F#3B400F

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

Color values

HEX#3B400F
RGBrgb(59, 64, 15)
HSLhsl(66, 62%, 15%)
HSVhsv(66, 77%, 25%)
CMYKcmyk(7.8%, 0%, 76.6%, 74.9%)
CIE-LABlab(25.66, -9.74, 27.95)
CIE-LCHlch(25.66, 29.60, 109.22°)
OKLaboklab(35.58% -0.0293 0.0628)
OKLCHoklch(35.58% 0.069 115)
XYZxyz(3.7233, 4.6311, 1.1496)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B400F #140F40
analogous
#402C0F #3B400F #22400F
triadic
#3B400F #0F3B40 #400F3B
tetradic
#3B400F #0F402C #140F40 #400F22
square
#3B400F #0F402C #140F40 #400F22
split-complementary
#3B400F #0F2240 #2C0F40
monochromatic
#171906 #171906 #3B400F #69721B #96A326

Accessibility & contrast

On white

10.90
#3B400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3B400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B400F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B400F#FFFFFF#000000##FFFFFF
##3B400F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C08
Deuteranopia (green-blind)
#453D13
Tritanopia (blue-blind)
#3F3C36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b400f;
/* rgb */ color: rgb(59, 64, 15);
/* oklch */ color: oklch(35.6% 0.069 115.0);
Tailwind
colors: {
  custom: {
    50: '#737451',
    500: '#3b400f',
    950: '#000000',
  },
}
SCSS
$custom: #3b400f;
$custom-light: #737451;
$custom-dark: #000000;
JSON
{
  "hex": "#3b400f",
  "rgb": {
    "r": 59,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 66.122,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35576,
    "c": 0.0693,
    "h": 115
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#3B400F
secondary
#38307A
accent
#43E553
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3B400F

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

Preview Lab → · Contrast checker → · Palette generator →

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