#42491F#42491F

#42491F is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.8% C 0.063 H 117.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#42491F
RGBrgb(66, 73, 31)
HSLhsl(70, 40%, 20%)
HSVhsv(70, 58%, 29%)
CMYKcmyk(9.6%, 0%, 57.5%, 71.4%)
CIE-LABlab(29.47, -10.19, 23.91)
CIE-LCHlch(29.47, 25.99, 113.09°)
OKLaboklab(38.84% -0.0291 0.0564)
OKLCHoklch(38.84% 0.063 117.3)
XYZxyz(4.8767, 6.0223, 2.2016)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42491F #261F49
analogous
#493B1F #42491F #2D491F
triadic
#42491F #1F4249 #491F42
tetradic
#42491F #1F493B #261F49 #491F2D
square
#42491F #1F493B #261F49 #491F2D
split-complementary
#42491F #1F2D49 #3B1F49
monochromatic
#131509 #1B1E0D #42491F #697431 #909F43

Accessibility & contrast

On white

9.53
#42491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42491F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42491F#FFFFFF#000000##FFFFFF
##42491F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451B
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#464540
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42491f;
/* rgb */ color: rgb(66, 73, 31);
/* oklch */ color: oklch(38.8% 0.063 117.3);
Tailwind
colors: {
  custom: {
    50: '#777b5c',
    500: '#42491f',
    950: '#000000',
  },
}
SCSS
$custom: #42491f;
$custom-light: #777b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#42491f",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 70,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.06348,
    "h": 117.3
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#42491F
secondary
#4F467E
accent
#58D06C
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090904
muted
#7B7B79

Preview Lab

Preview with #42491F

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

Preview Lab → · Contrast checker → · Palette generator →

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