#42591C#42591C

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

Color values

HEX#42591C
RGBrgb(66, 89, 28)
HSLhsl(83, 52%, 23%)
HSVhsv(83, 69%, 35%)
CMYKcmyk(25.8%, 0%, 68.5%, 65.1%)
CIE-LABlab(34.78, -19.46, 31.47)
CIE-LCHlch(34.78, 37.00, 121.73°)
OKLaboklab(43.11% -0.0553 0.0722)
OKLCHoklch(43.11% 0.091 127.4)
XYZxyz(6.0287, 8.3867, 2.3996)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42591C #331C59
analogous
#59511C #42591C #23591C
triadic
#42591C #1C4259 #591C42
tetradic
#42591C #1C5951 #331C59 #591C23
square
#42591C #1C5951 #331C59 #591C23
split-complementary
#42591C #1C2359 #511C59
monochromatic
#111707 #1F2A0D #42591C #65882B #87B639

Accessibility & contrast

On white

7.84
#42591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42591C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42591C#FFFFFF#000000##FFFFFF
##42591C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42591c;
/* rgb */ color: rgb(66, 89, 28);
/* oklch */ color: oklch(43.1% 0.091 127.4);
Tailwind
colors: {
  custom: {
    50: '#78885b',
    500: '#42591c',
    950: '#000000',
  },
}
SCSS
$custom: #42591c;
$custom-light: #78885b;
$custom-dark: #000000;
JSON
{
  "hex": "#42591c",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 82.623,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.09095,
    "h": 127.4
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#42591C
secondary
#5F428F
accent
#4CDC82
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42591C

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

Preview Lab → · Contrast checker → · Palette generator →

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