#42370F#42370F

#42370F is a dark, muted yellow. Relative luminance 0.039; OKLCH L 34.0% C 0.058 H 93.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#42370F
RGBrgb(66, 55, 15)
HSLhsl(47, 63%, 16%)
HSVhsv(47, 77%, 26%)
CMYKcmyk(0%, 16.7%, 77.3%, 74.1%)
CIE-LABlab(23.42, -0.48, 25.88)
CIE-LCHlch(23.42, 25.89, 91.06°)
OKLaboklab(33.97% -0.0036 0.0582)
OKLCHoklch(33.97% 0.058 93.5)
XYZxyz(3.6994, 3.9253, 1.0147)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42370F #0F1A42
analogous
#421D0F #42370F #33420F
triadic
#42370F #0F4237 #370F42
tetradic
#42370F #0F421D #0F1A42 #420F33
square
#42370F #0F421D #0F1A42 #420F33
split-complementary
#42370F #0F3342 #1D0F42
monochromatic
#191506 #191506 #42370F #74611A #A68A26

Accessibility & contrast

On white

11.76
#42370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#42370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42370F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42370F#FFFFFF#000000##FFFFFF
##42370F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360A
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#48322F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #42370f;
/* rgb */ color: rgb(66, 55, 15);
/* oklch */ color: oklch(34.0% 0.058 93.5);
Tailwind
colors: {
  custom: {
    50: '#796d50',
    500: '#42370f',
    950: '#000000',
  },
}
SCSS
$custom: #42370f;
$custom-light: #796d50;
$custom-dark: #000000;
JSON
{
  "hex": "#42370f",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 47.059,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33972,
    "c": 0.05831,
    "h": 93.5
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#42370F
secondary
#30417C
accent
#65E642
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #42370F

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

Preview Lab → · Contrast checker → · Palette generator →

#42370F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva