#3A4207#3A4207

#3A4207 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.0% C 0.078 H 117.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3A4207
RGBrgb(58, 66, 7)
HSLhsl(68, 81%, 14%)
HSVhsv(68, 89%, 26%)
CMYKcmyk(12.1%, 0%, 89.4%, 74.1%)
CIE-LABlab(26.19, -11.92, 31.81)
CIE-LCHlch(26.19, 33.97, 110.54°)
OKLaboklab(35.96% -0.0361 0.0693)
OKLCHoklch(35.96% 0.078 117.5)
XYZxyz(3.7316, 4.8114, 0.9331)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4207 #0F0742
analogous
#422D07 #3A4207 #1D4207
triadic
#3A4207 #073A42 #42073A
tetradic
#3A4207 #07422D #0F0742 #42071D
square
#3A4207 #07422D #0F0742 #42071D
split-complementary
#3A4207 #071D42 #2D0742
monochromatic
#181C03 #181C03 #3A4207 #6B790D #9BB113

Accessibility & contrast

On white

10.70
#3A4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4207
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4207#FFFFFF#000000##FFFFFF
##3A42071.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#3E3E37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a4207;
/* rgb */ color: rgb(58, 66, 7);
/* oklch */ color: oklch(36.0% 0.078 117.5);
Tailwind
colors: {
  custom: {
    50: '#73764d',
    500: '#3a4207',
    950: '#000000',
  },
}
SCSS
$custom: #3a4207;
$custom-light: #73764d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4207",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 68.136,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35964,
    "c": 0.07816,
    "h": 117.5
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#3A4207
secondary
#302481
accent
#31F74C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A4207

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

Preview Lab → · Contrast checker → · Palette generator →

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