#42380C#42380C

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

Color values

HEX#42380C
RGBrgb(66, 56, 12)
HSLhsl(49, 69%, 15%)
HSVhsv(49, 82%, 26%)
CMYKcmyk(0%, 15.2%, 81.8%, 74.1%)
CIE-LABlab(23.72, -1.31, 27.64)
CIE-LCHlch(23.72, 27.67, 92.72°)
OKLaboklab(34.2% -0.0064 0.0613)
OKLCHoklch(34.2% 0.062 95.9)
XYZxyz(3.7275, 4.0133, 0.9261)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42380C #0C1642
analogous
#421D0C #42380C #31420C
triadic
#42380C #0C4238 #380C42
tetradic
#42380C #0C421D #0C1642 #420C31
square
#42380C #0C421D #0C1642 #420C31
split-complementary
#42380C #0C3142 #1D0C42
monochromatic
#1A1605 #1A1605 #42380C #766415 #AA901F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42380c;
/* rgb */ color: rgb(66, 56, 12);
/* oklch */ color: oklch(34.2% 0.062 95.9);
Tailwind
colors: {
  custom: {
    50: '#796e4e',
    500: '#42380c',
    950: '#000000',
  },
}
SCSS
$custom: #42380c;
$custom-light: #796e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#42380c",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 48.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34195,
    "c": 0.06162,
    "h": 95.9
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#42380C
secondary
#2C3B7E
accent
#5CEC3C
background
#F7F6F4
surface
#EEEBE7
border
#C9C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #42380C

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

Preview Lab → · Contrast checker → · Palette generator →

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