#3A3F06#3A3F06

#3A3F06 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.1% C 0.075 H 114.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#3A3F06
RGBrgb(58, 63, 6)
HSLhsl(65, 83%, 14%)
HSVhsv(65, 90%, 25%)
CMYKcmyk(7.9%, 0%, 90.5%, 75.3%)
CIE-LABlab(25.16, -10.20, 31.26)
CIE-LCHlch(25.16, 32.88, 108.07°)
OKLaboklab(35.14% -0.0315 0.068)
OKLCHoklch(35.14% 0.075 114.8)
XYZxyz(3.5554, 4.4678, 0.8473)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3F06 #0B063F
analogous
#3F2706 #3A3F06 #1D3F06
triadic
#3A3F06 #063A3F #3F063A
tetradic
#3A3F06 #063F27 #0B063F #3F061D
square
#3A3F06 #063F27 #0B063F #3F061D
split-complementary
#3A3F06 #061D3F #27063F
monochromatic
#1A1C03 #1A1C03 #3A3F06 #6D770B #A1AF11

Accessibility & contrast

On white

11.09
#3A3F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3A3F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3F06
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3F06#FFFFFF#000000##FFFFFF
##3A3F061.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#443C0B
Tritanopia (blue-blind)
#3F3B35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a3f06;
/* rgb */ color: rgb(58, 63, 6);
/* oklch */ color: oklch(35.1% 0.075 114.8);
Tailwind
colors: {
  custom: {
    50: '#73734c',
    500: '#3a3f06',
    950: '#000000',
  },
}
SCSS
$custom: #3a3f06;
$custom-light: #73734c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3f06",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 65.263,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35135,
    "c": 0.07496,
    "h": 114.8
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#3A3F06
secondary
#2A227F
accent
#2FF941
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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