#42380B#42380B

#42380B is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 34.2% C 0.062 H 96.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#42380B
RGBrgb(66, 56, 11)
HSLhsl(49, 71%, 15%)
HSVhsv(49, 83%, 26%)
CMYKcmyk(0%, 15.2%, 83.3%, 74.1%)
CIE-LABlab(23.71, -1.37, 28.08)
CIE-LCHlch(23.71, 28.11, 92.79°)
OKLaboklab(34.19% -0.0067 0.062)
OKLCHoklch(34.19% 0.062 96.1)
XYZxyz(3.7215, 4.0110, 0.8947)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42380B #0B1542
analogous
#421C0B #42380B #30420B
triadic
#42380B #0B4238 #380B42
tetradic
#42380B #0B421C #0B1542 #420B30
square
#42380B #0B421C #0B1542 #420B30
split-complementary
#42380B #0B3042 #1C0B42
monochromatic
#1A1604 #1A1604 #42380B #766514 #AB911C

Accessibility & contrast

On white

11.65
#42380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#42380B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42380B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42380B#FFFFFF#000000##FFFFFF
##42380B1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3705
Deuteranopia (green-blind)
#413A0E
Tritanopia (blue-blind)
#48332F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #42380b;
/* rgb */ color: rgb(66, 56, 11);
/* oklch */ color: oklch(34.2% 0.062 96.1);
Tailwind
colors: {
  custom: {
    50: '#796e4d',
    500: '#42380b',
    950: '#000000',
  },
}
SCSS
$custom: #42380b;
$custom-light: #796e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#42380b",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 49.091,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.06238,
    "h": 96.1
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#42380B
secondary
#2A3A7F
accent
#5AEE3A
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #42380B

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

Preview Lab → · Contrast checker → · Palette generator →

#42380B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva