#42591A#42591A

#42591A is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.1% C 0.093 H 127.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#42591A
RGBrgb(66, 89, 26)
HSLhsl(82, 55%, 23%)
HSVhsv(82, 71%, 35%)
CMYKcmyk(25.8%, 0%, 70.8%, 65.1%)
CIE-LABlab(34.76, -19.63, 32.40)
CIE-LCHlch(34.76, 37.89, 121.21°)
OKLaboklab(43.09% -0.056 0.0739)
OKLCHoklch(43.09% 0.093 127.1)
XYZxyz(6.0056, 8.3775, 2.2777)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42591A #311A59
analogous
#59511A #42591A #22591A
triadic
#42591A #1A4259 #591A42
tetradic
#42591A #1A5951 #311A59 #591A22
square
#42591A #1A5951 #311A59 #591A22
split-complementary
#42591A #1A2259 #511A59
monochromatic
#121807 #1F2A0C #42591A #658828 #88B836

Accessibility & contrast

On white

7.85
#42591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#42591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42591A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42591A#FFFFFF#000000##FFFFFF
##42591A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#45554C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #42591a;
/* rgb */ color: rgb(66, 89, 26);
/* oklch */ color: oklch(43.1% 0.093 127.1);
Tailwind
colors: {
  custom: {
    50: '#79885a',
    500: '#42591a',
    950: '#000000',
  },
}
SCSS
$custom: #42591a;
$custom-light: #79885a;
$custom-dark: #000000;
JSON
{
  "hex": "#42591a",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 81.905,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.09269,
    "h": 127.1
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#42591A
secondary
#5D408F
accent
#4ADE80
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42591A

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

Preview Lab → · Contrast checker → · Palette generator →

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