#3A4106#3A4106

#3A4106 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.7% C 0.078 H 116.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3A4106
RGBrgb(58, 65, 6)
HSLhsl(67, 83%, 14%)
HSVhsv(67, 91%, 25%)
CMYKcmyk(10.8%, 0%, 90.8%, 74.5%)
CIE-LABlab(25.84, -11.39, 31.90)
CIE-LCHlch(25.84, 33.87, 109.64°)
OKLaboklab(35.68% -0.0348 0.0693)
OKLCHoklch(35.68% 0.078 116.6)
XYZxyz(3.6682, 4.6933, 0.8849)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4106 #0D0641
analogous
#412B06 #3A4106 #1D4106
triadic
#3A4106 #063A41 #41063A
tetradic
#3A4106 #06412B #0D0641 #41061D
square
#3A4106 #06412B #0D0641 #41061D
split-complementary
#3A4106 #061D41 #2B0641
monochromatic
#191C03 #191C03 #3A4106 #6C790B #9EB110

Accessibility & contrast

On white

10.83
#3A4106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A4106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4106
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4106#FFFFFF#000000##FFFFFF
##3A41061.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#463E0C
Tritanopia (blue-blind)
#3E3D36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a4106;
/* rgb */ color: rgb(58, 65, 6);
/* oklch */ color: oklch(35.7% 0.078 116.6);
Tailwind
colors: {
  custom: {
    50: '#73754c',
    500: '#3a4106',
    950: '#000000',
  },
}
SCSS
$custom: #3a4106;
$custom-light: #73754c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4106",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 67.119,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.07753,
    "h": 116.6
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#3A4106
secondary
#2D2281
accent
#2EF946
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A4106

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

Preview Lab → · Contrast checker → · Palette generator →

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