#42491C#42491C

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

Color values

HEX#42491C
RGBrgb(66, 73, 28)
HSLhsl(69, 45%, 20%)
HSVhsv(69, 62%, 29%)
CMYKcmyk(9.6%, 0%, 61.6%, 71.4%)
CIE-LABlab(29.43, -10.51, 25.53)
CIE-LCHlch(29.43, 27.61, 112.37°)
OKLaboklab(38.8% -0.0303 0.0596)
OKLCHoklch(38.8% 0.067 117)
XYZxyz(4.8390, 6.0072, 2.0030)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42491C #231C49
analogous
#49391C #42491C #2C491C
triadic
#42491C #1C4249 #491C42
tetradic
#42491C #1C4939 #231C49 #491C2C
square
#42491C #1C4939 #231C49 #491C2C
split-complementary
#42491C #1C2C49 #391C49
monochromatic
#141608 #1A1D0B #42491C #6A752D #92A13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42491C#FFFFFF#000000##FFFFFF
##42491C1.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)
#4E4517
Deuteranopia (green-blind)
#4D461F
Tritanopia (blue-blind)
#46453F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42491c;
/* rgb */ color: rgb(66, 73, 28);
/* oklch */ color: oklch(38.8% 0.067 117.0);
Tailwind
colors: {
  custom: {
    50: '#787b5a',
    500: '#42491c',
    950: '#000000',
  },
}
SCSS
$custom: #42491c;
$custom-light: #787b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#42491c",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 69.333,
    "s": 44.554,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38801,
    "c": 0.06686,
    "h": 117
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#42491C
secondary
#4C427E
accent
#54D468
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090904
muted
#7B7B79

Preview Lab

Preview with #42491C

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

Preview Lab → · Contrast checker → · Palette generator →

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