#42380D#42380D

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

Color values

HEX#42380D
RGBrgb(66, 56, 13)
HSLhsl(49, 67%, 15%)
HSVhsv(49, 80%, 26%)
CMYKcmyk(0%, 15.2%, 80.3%, 74.1%)
CIE-LABlab(23.72, -1.25, 27.18)
CIE-LCHlch(23.72, 27.21, 92.64°)
OKLaboklab(34.2% -0.0061 0.0605)
OKLCHoklch(34.2% 0.061 95.7)
XYZxyz(3.7338, 4.0159, 0.9592)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42380D #0D1742
analogous
#421D0D #42380D #31420D
triadic
#42380D #0D4238 #380D42
tetradic
#42380D #0D421D #0D1742 #420D31
square
#42380D #0D421D #0D1742 #420D31
split-complementary
#42380D #0D3142 #1D0D42
monochromatic
#1A1605 #1A1605 #42380D #756317 #A88F21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42380D#FFFFFF#000000##FFFFFF
##42380D1.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)
#3F3707
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#48332F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #42380d;
/* rgb */ color: rgb(66, 56, 13);
/* oklch */ color: oklch(34.2% 0.061 95.7);
Tailwind
colors: {
  custom: {
    50: '#796e4f',
    500: '#42380d',
    950: '#000000',
  },
}
SCSS
$custom: #42380d;
$custom-light: #796e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#42380d",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 48.679,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34204,
    "c": 0.06083,
    "h": 95.7
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#42380D
secondary
#2D3C7E
accent
#5EEA3E
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #42380D

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

Preview Lab → · Contrast checker → · Palette generator →

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