#3A3E07#3A3E07

#3A3E07 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 34.9% C 0.073 H 113.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3A3E07
RGBrgb(58, 62, 7)
HSLhsl(64, 80%, 14%)
HSVhsv(64, 89%, 24%)
CMYKcmyk(6.5%, 0%, 88.7%, 75.7%)
CIE-LABlab(24.83, -9.54, 30.54)
CIE-LCHlch(24.83, 31.99, 107.35°)
OKLaboklab(34.87% -0.0295 0.0667)
OKLCHoklch(34.87% 0.073 113.9)
XYZxyz(3.5060, 4.3602, 0.8579)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3E07 #0B073E
analogous
#3E2607 #3A3E07 #1E3E07
triadic
#3A3E07 #073A3E #3E073A
tetradic
#3A3E07 #073E26 #0B073E #3E071E
square
#3A3E07 #073E26 #0B073E #3E071E
split-complementary
#3A3E07 #071E3E #26073E
monochromatic
#1A1B03 #1A1B03 #3A3E07 #6D750D #A1AC13

Accessibility & contrast

On white

11.22
#3A3E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3A3E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3E07
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3E07#FFFFFF#000000##FFFFFF
##3A3E071.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#3F3A34
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a3e07;
/* rgb */ color: rgb(58, 62, 7);
/* oklch */ color: oklch(34.9% 0.073 113.9);
Tailwind
colors: {
  custom: {
    50: '#72734c',
    500: '#3a3e07',
    950: '#000000',
  },
}
SCSS
$custom: #3a3e07;
$custom-light: #72734c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3e07",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 64.364,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3487,
    "c": 0.07298,
    "h": 113.9
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#3A3E07
secondary
#2A247D
accent
#32F640
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3A3E07

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

Preview Lab → · Contrast checker → · Palette generator →

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