#42440F#42440F

#42440F is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.3% C 0.072 H 111.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#42440F
RGBrgb(66, 68, 15)
HSLhsl(62, 64%, 16%)
HSVhsv(62, 78%, 27%)
CMYKcmyk(2.9%, 0%, 77.9%, 73.3%)
CIE-LABlab(27.65, -8.60, 30.16)
CIE-LCHlch(27.65, 31.36, 105.91°)
OKLaboklab(37.33% -0.0266 0.0672)
OKLCHoklch(37.33% 0.072 111.6)
XYZxyz(4.4003, 5.3271, 1.2483)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42440F #110F44
analogous
#442C0F #42440F #28440F
triadic
#42440F #0F4244 #440F42
tetradic
#42440F #0F442C #110F44 #440F28
square
#42440F #0F442C #110F44 #440F28
split-complementary
#42440F #0F2844 #2C0F44
monochromatic
#181906 #181906 #42440F #73761A #A3A825

Accessibility & contrast

On white

10.17
#42440F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#42440F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42440F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42440F#FFFFFF#000000##FFFFFF
##42440F1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4107
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#473F3A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #42440f;
/* rgb */ color: rgb(66, 68, 15);
/* oklch */ color: oklch(37.3% 0.072 111.6);
Tailwind
colors: {
  custom: {
    50: '#787751',
    500: '#42440f',
    950: '#000000',
  },
}
SCSS
$custom: #42440f;
$custom-light: #787751;
$custom-dark: #000000;
JSON
{
  "hex": "#42440f",
  "rgb": {
    "r": 66,
    "g": 68,
    "b": 15
  },
  "hsl": {
    "h": 62.264,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37331,
    "c": 0.07228,
    "h": 111.6
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#42440F
secondary
#33307E
accent
#41E747
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42440F

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

Preview Lab → · Contrast checker → · Palette generator →

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