#42380F#42380F

#42380F is a dark, muted yellow. Relative luminance 0.040; OKLCH L 34.2% C 0.059 H 95.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#42380F
RGBrgb(66, 56, 15)
HSLhsl(48, 63%, 16%)
HSVhsv(48, 77%, 26%)
CMYKcmyk(0%, 15.2%, 77.3%, 74.1%)
CIE-LABlab(23.74, -1.13, 26.21)
CIE-LCHlch(23.74, 26.24, 92.46°)
OKLaboklab(34.22% -0.0054 0.0589)
OKLCHoklch(34.22% 0.059 95.3)
XYZxyz(3.7473, 4.0213, 1.0306)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42380F #0F1942
analogous
#421E0F #42380F #32420F
triadic
#42380F #0F4238 #380F42
tetradic
#42380F #0F421E #0F1942 #420F32
square
#42380F #0F421E #0F1942 #420F32
split-complementary
#42380F #0F3242 #1E0F42
monochromatic
#191506 #191506 #42380F #74621A #A68D26

Accessibility & contrast

On white

11.64
#42380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42380F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42380F#FFFFFF#000000##FFFFFF
##42380F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370A
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#483330
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #42380f;
/* rgb */ color: rgb(66, 56, 15);
/* oklch */ color: oklch(34.2% 0.059 95.3);
Tailwind
colors: {
  custom: {
    50: '#796e50',
    500: '#42380f',
    950: '#000000',
  },
}
SCSS
$custom: #42380f;
$custom-light: #796e50;
$custom-dark: #000000;
JSON
{
  "hex": "#42380f",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 48.235,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34224,
    "c": 0.05915,
    "h": 95.3
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#42380F
secondary
#303F7C
accent
#62E642
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #42380F

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

Preview Lab → · Contrast checker → · Palette generator →

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