#3A3F07#3A3F07

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

Color values

HEX#3A3F07
RGBrgb(58, 63, 7)
HSLhsl(65, 80%, 14%)
HSVhsv(65, 89%, 25%)
CMYKcmyk(7.9%, 0%, 88.9%, 75.3%)
CIE-LABlab(25.17, -10.14, 30.86)
CIE-LCHlch(25.17, 32.48, 108.19°)
OKLaboklab(35.14% -0.0312 0.0674)
OKLCHoklch(35.14% 0.074 114.9)
XYZxyz(3.5609, 4.4700, 0.8762)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3F07 #0C073F
analogous
#3F2807 #3A3F07 #1E3F07
triadic
#3A3F07 #073A3F #3F073A
tetradic
#3A3F07 #073F28 #0C073F #3F071E
square
#3A3F07 #073F28 #0C073F #3F071E
split-complementary
#3A3F07 #071E3F #28073F
monochromatic
#191C03 #191C03 #3A3F07 #6D760D #9FAD13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3F07#FFFFFF#000000##FFFFFF
##3A3F071.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)
#443C0C
Tritanopia (blue-blind)
#3E3B35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a3f07;
/* rgb */ color: rgb(58, 63, 7);
/* oklch */ color: oklch(35.1% 0.074 114.9);
Tailwind
colors: {
  custom: {
    50: '#72734c',
    500: '#3a3f07',
    950: '#000000',
  },
}
SCSS
$custom: #3a3f07;
$custom-light: #72734c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3f07",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 65.357,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.35143,
    "c": 0.07426,
    "h": 114.9
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#3A3F07
secondary
#2C247E
accent
#31F643
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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