#42491B#42491B

#42491B is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.8% C 0.068 H 116.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#42491B
RGBrgb(66, 73, 27)
HSLhsl(69, 46%, 20%)
HSVhsv(69, 63%, 29%)
CMYKcmyk(9.6%, 0%, 63%, 71.4%)
CIE-LABlab(29.42, -10.61, 26.06)
CIE-LCHlch(29.42, 28.14, 112.15°)
OKLaboklab(38.79% -0.0307 0.0606)
OKLCHoklch(38.79% 0.068 116.9)
XYZxyz(4.8272, 6.0025, 1.9410)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42491B #221B49
analogous
#49391B #42491B #2B491B
triadic
#42491B #1B4249 #491B42
tetradic
#42491B #1B4939 #221B49 #491B2B
square
#42491B #1B4939 #221B49 #491B2B
split-complementary
#42491B #1B2B49 #391B49
monochromatic
#141608 #1A1C0A #42491B #6A762C #93A23C

Accessibility & contrast

On white

9.54
#42491B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#42491B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42491B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42491B#FFFFFF#000000##FFFFFF
##42491B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#4D461E
Tritanopia (blue-blind)
#46453F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42491b;
/* rgb */ color: rgb(66, 73, 27);
/* oklch */ color: oklch(38.8% 0.068 116.9);
Tailwind
colors: {
  custom: {
    50: '#787b59',
    500: '#42491b',
    950: '#000000',
  },
}
SCSS
$custom: #42491b;
$custom-light: #787b59;
$custom-dark: #000000;
JSON
{
  "hex": "#42491b",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 27
  },
  "hsl": {
    "h": 69.13,
    "s": 46,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.06794,
    "h": 116.9
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#42491B
secondary
#4A417F
accent
#52D666
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #42491B

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

Preview Lab → · Contrast checker → · Palette generator →

#42491B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva