#42480F#42480F

#42480F is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.4% C 0.077 H 115.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#42480F
RGBrgb(66, 72, 15)
HSLhsl(66, 66%, 17%)
HSVhsv(66, 79%, 28%)
CMYKcmyk(8.3%, 0%, 79.2%, 71.8%)
CIE-LABlab(28.97, -10.97, 31.46)
CIE-LCHlch(28.97, 33.32, 109.23°)
OKLaboklab(38.39% -0.0332 0.07)
OKLCHoklch(38.39% 0.077 115.4)
XYZxyz(4.6505, 5.8275, 1.3317)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42480F #150F48
analogous
#48320F #42480F #26480F
triadic
#42480F #0F4248 #480F42
tetradic
#42480F #0F4832 #150F48 #480F26
square
#42480F #0F4832 #150F48 #480F26
split-complementary
#42480F #0F2648 #320F48
monochromatic
#171905 #171905 #42480F #707B1A #9FAD24

Accessibility & contrast

On white

9.70
#42480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#42480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42480F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42480F#FFFFFF#000000##FFFFFF
##42480F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#47433D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42480f;
/* rgb */ color: rgb(66, 72, 15);
/* oklch */ color: oklch(38.4% 0.077 115.4);
Tailwind
colors: {
  custom: {
    50: '#787a52',
    500: '#42480f',
    950: '#000000',
  },
}
SCSS
$custom: #42480f;
$custom-light: #787a52;
$custom-dark: #000000;
JSON
{
  "hex": "#42480f",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 66.316,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38394,
    "c": 0.07744,
    "h": 115.4
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#42480F
secondary
#393082
accent
#3FE851
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42480F

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

Preview Lab → · Contrast checker → · Palette generator →

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