#42390C#42390C

#42390C is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.4% C 0.062 H 97.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#42390C
RGBrgb(66, 57, 12)
HSLhsl(50, 69%, 15%)
HSVhsv(50, 82%, 26%)
CMYKcmyk(0%, 13.6%, 81.8%, 74.1%)
CIE-LABlab(24.04, -1.95, 27.96)
CIE-LCHlch(24.04, 28.03, 94.00°)
OKLaboklab(34.45% -0.0082 0.062)
OKLCHoklch(34.45% 0.062 97.5)
XYZxyz(3.7764, 4.1112, 0.9424)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42390C #0C1542
analogous
#421E0C #42390C #30420C
triadic
#42390C #0C4239 #390C42
tetradic
#42390C #0C421E #0C1542 #420C30
square
#42390C #0C421E #0C1542 #420C30
split-complementary
#42390C #0C3042 #1E0C42
monochromatic
#1A1605 #1A1605 #42390C #766615 #AA921F

Accessibility & contrast

On white

11.52
#42390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#42390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42390C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42390C#FFFFFF#000000##FFFFFF
##42390C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403706
Deuteranopia (green-blind)
#423A0F
Tritanopia (blue-blind)
#483430
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #42390c;
/* rgb */ color: rgb(66, 57, 12);
/* oklch */ color: oklch(34.4% 0.062 97.5);
Tailwind
colors: {
  custom: {
    50: '#796f4e',
    500: '#42390c',
    950: '#000000',
  },
}
SCSS
$custom: #42390c;
$custom-light: #796f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#42390c",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 50,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34449,
    "c": 0.06249,
    "h": 97.5
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#42390C
secondary
#2C397E
accent
#59EC3C
background
#F7F6F4
surface
#EEECE7
border
#C9C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #42390C

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

Preview Lab → · Contrast checker → · Palette generator →

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