#3A4308#3A4308

#3A4308 is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.2% C 0.079 H 118.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3A4308
RGBrgb(58, 67, 8)
HSLhsl(69, 79%, 15%)
HSVhsv(69, 88%, 26%)
CMYKcmyk(13.4%, 0%, 88.1%, 73.7%)
CIE-LABlab(26.54, -12.45, 31.72)
CIE-LCHlch(26.54, 34.07, 111.43°)
OKLaboklab(36.25% -0.0374 0.0694)
OKLCHoklch(36.25% 0.079 118.4)
XYZxyz(3.7960, 4.9314, 0.9816)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4308 #110843
analogous
#432F08 #3A4308 #1C4308
triadic
#3A4308 #083A43 #43083A
tetradic
#3A4308 #08432F #110843 #43081C
square
#3A4308 #08432F #110843 #43081C
split-complementary
#3A4308 #081C43 #2F0843
monochromatic
#181B03 #181B03 #3A4308 #697A0F #99B015

Accessibility & contrast

On white

10.57
#3A4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4308
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4308#FFFFFF#000000##FFFFFF
##3A43081.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F00
Deuteranopia (green-blind)
#473F0E
Tritanopia (blue-blind)
#3E3F38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a4308;
/* rgb */ color: rgb(58, 67, 8);
/* oklch */ color: oklch(36.2% 0.079 118.4);
Tailwind
colors: {
  custom: {
    50: '#72774d',
    500: '#3a4308',
    950: '#000000',
  },
}
SCSS
$custom: #3a4308;
$custom-light: #72774d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4308",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 69.153,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.07882,
    "h": 118.4
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#3A4308
secondary
#332581
accent
#33F550
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3A4308

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

Preview Lab → · Contrast checker → · Palette generator →

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