#42480A#42480A

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

Color values

HEX#42480A
RGBrgb(66, 72, 10)
HSLhsl(66, 76%, 16%)
HSVhsv(66, 86%, 28%)
CMYKcmyk(8.3%, 0%, 86.1%, 71.8%)
CIE-LABlab(28.94, -11.25, 33.40)
CIE-LCHlch(28.94, 35.24, 108.61°)
OKLaboklab(38.36% -0.0344 0.073)
OKLCHoklch(38.36% 0.081 115.3)
XYZxyz(4.6191, 5.8150, 1.1662)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42480A #100A48
analogous
#482F0A #42480A #23480A
triadic
#42480A #0A4248 #480A42
tetradic
#42480A #0A482F #100A48 #480A23
square
#42480A #0A482F #100A48 #480A23
split-complementary
#42480A #0A2348 #2F0A48
monochromatic
#191B04 #191B04 #42480A #737E11 #A5B319

Accessibility & contrast

On white

9.71
#42480A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#42480A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42480A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42480A#FFFFFF#000000##FFFFFF
##42480A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42480a;
/* rgb */ color: rgb(66, 72, 10);
/* oklch */ color: oklch(38.4% 0.081 115.3);
Tailwind
colors: {
  custom: {
    50: '#797a4f',
    500: '#42480a',
    950: '#000000',
  },
}
SCSS
$custom: #42480a;
$custom-light: #797a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#42480a",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 65.806,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.08076,
    "h": 115.3
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#42480A
secondary
#322985
accent
#36F248
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42480A

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

Preview Lab → · Contrast checker → · Palette generator →

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