#3A4108#3A4108

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

Color values

HEX#3A4108
RGBrgb(58, 65, 8)
HSLhsl(67, 78%, 14%)
HSVhsv(67, 88%, 25%)
CMYKcmyk(10.8%, 0%, 87.7%, 74.5%)
CIE-LABlab(25.86, -11.28, 31.10)
CIE-LCHlch(25.86, 33.08, 109.93°)
OKLaboklab(35.7% -0.0342 0.0681)
OKLCHoklch(35.7% 0.076 116.7)
XYZxyz(3.6791, 4.6977, 0.9426)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4108 #0F0841
analogous
#412C08 #3A4108 #1E4108
triadic
#3A4108 #083A41 #41083A
tetradic
#3A4108 #08412C #0F0841 #41081E
square
#3A4108 #08412C #0F0841 #41081E
split-complementary
#3A4108 #081E41 #2C0841
monochromatic
#181B03 #181B03 #3A4108 #6B770F #9BAE15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4108#FFFFFF#000000##FFFFFF
##3A41081.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)
#463E0D
Tritanopia (blue-blind)
#3E3D36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a4108;
/* rgb */ color: rgb(58, 65, 8);
/* oklch */ color: oklch(35.7% 0.076 116.7);
Tailwind
colors: {
  custom: {
    50: '#72754d',
    500: '#3a4108',
    950: '#000000',
  },
}
SCSS
$custom: #3a4108;
$custom-light: #72754d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4108",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 67.368,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35697,
    "c": 0.07617,
    "h": 116.7
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#3A4108
secondary
#30257F
accent
#33F54B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A4108

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

Preview Lab → · Contrast checker → · Palette generator →

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