#3A4107#3A4107

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

Color values

HEX#3A4107
RGBrgb(58, 65, 7)
HSLhsl(67, 81%, 14%)
HSVhsv(67, 89%, 25%)
CMYKcmyk(10.8%, 0%, 89.2%, 74.5%)
CIE-LABlab(25.85, -11.33, 31.50)
CIE-LCHlch(25.85, 33.47, 109.78°)
OKLaboklab(35.69% -0.0345 0.0687)
OKLCHoklch(35.69% 0.077 116.7)
XYZxyz(3.6737, 4.6955, 0.9138)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4107 #0E0741
analogous
#412B07 #3A4107 #1D4107
triadic
#3A4107 #073A41 #41073A
tetradic
#3A4107 #07412B #0E0741 #41071D
square
#3A4107 #07412B #0E0741 #41071D
split-complementary
#3A4107 #071D41 #2B0741
monochromatic
#191C03 #191C03 #3A4107 #6B780D #9DB013

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4107#FFFFFF#000000##FFFFFF
##3A41071.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: #3a4107;
/* rgb */ color: rgb(58, 65, 7);
/* oklch */ color: oklch(35.7% 0.077 116.7);
Tailwind
colors: {
  custom: {
    50: '#72754d',
    500: '#3a4107',
    950: '#000000',
  },
}
SCSS
$custom: #3a4107;
$custom-light: #72754d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4107",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 67.241,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3569,
    "c": 0.07685,
    "h": 116.7
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#3A4107
secondary
#2F2480
accent
#31F749
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A4107

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

Preview Lab → · Contrast checker → · Palette generator →

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