#42390F#42390F

#42390F is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.5% C 0.060 H 96.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#42390F
RGBrgb(66, 57, 15)
HSLhsl(49, 63%, 16%)
HSVhsv(49, 77%, 26%)
CMYKcmyk(0%, 13.6%, 77.3%, 74.1%)
CIE-LABlab(24.06, -1.77, 26.54)
CIE-LCHlch(24.06, 26.60, 93.81°)
OKLaboklab(34.48% -0.0073 0.0596)
OKLCHoklch(34.48% 0.06 96.9)
XYZxyz(3.7963, 4.1192, 1.0470)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42390F #0F1842
analogous
#421F0F #42390F #31420F
triadic
#42390F #0F4239 #390F42
tetradic
#42390F #0F421F #0F1842 #420F31
square
#42390F #0F421F #0F1842 #420F31
split-complementary
#42390F #0F3142 #1F0F42
monochromatic
#191606 #191606 #42390F #74641A #A68F26

Accessibility & contrast

On white

11.51
#42390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42390F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42390F#FFFFFF#000000##FFFFFF
##42390F1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3809
Deuteranopia (green-blind)
#423A11
Tritanopia (blue-blind)
#483430
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #42390f;
/* rgb */ color: rgb(66, 57, 15);
/* oklch */ color: oklch(34.5% 0.060 96.9);
Tailwind
colors: {
  custom: {
    50: '#796f50',
    500: '#42390f',
    950: '#000000',
  },
}
SCSS
$custom: #42390f;
$custom-light: #796f50;
$custom-dark: #000000;
JSON
{
  "hex": "#42390f",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 49.412,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34477,
    "c": 0.06004,
    "h": 96.9
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#42390F
secondary
#303E7C
accent
#5FE642
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #42390F

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

Preview Lab → · Contrast checker → · Palette generator →

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