#373F04#373F04

#373F04 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 34.8% C 0.078 H 117.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#373F04
RGBrgb(55, 63, 4)
HSLhsl(68, 88%, 13%)
HSVhsv(68, 94%, 25%)
CMYKcmyk(12.7%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.88, -11.85, 31.71)
CIE-LCHlch(24.88, 33.85, 110.49°)
OKLaboklab(34.84% -0.0361 0.0688)
OKLCHoklch(34.84% 0.078 117.7)
XYZxyz(3.3751, 4.3760, 0.7817)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373F04 #0C043F
analogous
#3F2904 #373F04 #193F04
triadic
#373F04 #04373F #3F0437
tetradic
#373F04 #043F29 #0C043F #3F0419
square
#373F04 #043F29 #0C043F #3F0419
split-complementary
#373F04 #04193F #29043F
monochromatic
#191D02 #191D02 #373F04 #697908 #9BB20B

Accessibility & contrast

On white

11.20
#373F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#373F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373F04
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373F04#FFFFFF#000000##FFFFFF
##373F041.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#433B09
Tritanopia (blue-blind)
#3B3B34
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #373f04;
/* rgb */ color: rgb(55, 63, 4);
/* oklch */ color: oklch(34.8% 0.078 117.7);
Tailwind
colors: {
  custom: {
    50: '#70734b',
    500: '#373f04',
    950: '#000000',
  },
}
SCSS
$custom: #373f04;
$custom-light: #70734b;
$custom-dark: #000000;
JSON
{
  "hex": "#373f04",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 68.136,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34835,
    "c": 0.07767,
    "h": 117.7
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#373F04
secondary
#2C1E80
accent
#2AFE46
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #373F04

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

Preview Lab → · Contrast checker → · Palette generator →

#373F04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva