#42490F#42490F

#42490F is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.7% C 0.079 H 116.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#42490F
RGBrgb(66, 73, 15)
HSLhsl(67, 66%, 17%)
HSVhsv(67, 79%, 29%)
CMYKcmyk(9.6%, 0%, 79.5%, 71.4%)
CIE-LABlab(29.31, -11.56, 31.78)
CIE-LCHlch(29.31, 33.82, 109.98°)
OKLaboklab(38.66% -0.0348 0.0707)
OKLCHoklch(38.66% 0.079 116.2)
XYZxyz(4.7157, 5.9579, 1.3534)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42490F #160F49
analogous
#49330F #42490F #25490F
triadic
#42490F #0F4249 #490F42
tetradic
#42490F #0F4933 #160F49 #490F25
square
#42490F #0F4933 #160F49 #490F25
split-complementary
#42490F #0F2549 #330F49
monochromatic
#171905 #171905 #42490F #707C19 #9EAF24

Accessibility & contrast

On white

9.58
#42490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#42490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42490F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42490F#FFFFFF#000000##FFFFFF
##42490F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#47443E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42490f;
/* rgb */ color: rgb(66, 73, 15);
/* oklch */ color: oklch(38.7% 0.079 116.2);
Tailwind
colors: {
  custom: {
    50: '#787b52',
    500: '#42490f',
    950: '#000000',
  },
}
SCSS
$custom: #42490f;
$custom-light: #787b52;
$custom-dark: #000000;
JSON
{
  "hex": "#42490f",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 67.241,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.07876,
    "h": 116.2
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#42490F
secondary
#3A3083
accent
#3FE953
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42490F

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

Preview Lab → · Contrast checker → · Palette generator →

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