#42591E#42591E

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

Color values

HEX#42591E
RGBrgb(66, 89, 30)
HSLhsl(83, 50%, 23%)
HSVhsv(83, 66%, 35%)
CMYKcmyk(25.8%, 0%, 66.3%, 65.1%)
CIE-LABlab(34.80, -19.27, 30.51)
CIE-LCHlch(34.80, 36.09, 122.28°)
OKLaboklab(43.13% -0.0546 0.0705)
OKLCHoklch(43.13% 0.089 127.8)
XYZxyz(6.0535, 8.3966, 2.5298)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42591E #351E59
analogous
#59521E #42591E #24591E
triadic
#42591E #1E4259 #591E42
tetradic
#42591E #1E5952 #351E59 #591E24
square
#42591E #1E5952 #351E59 #591E24
split-complementary
#42591E #1E2459 #521E59
monochromatic
#111708 #202B0F #42591E #64872D #86B53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42591E#FFFFFF#000000##FFFFFF
##42591E1.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)
#5E5317
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#44554D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #42591e;
/* rgb */ color: rgb(66, 89, 30);
/* oklch */ color: oklch(43.1% 0.089 127.8);
Tailwind
colors: {
  custom: {
    50: '#78885d',
    500: '#42591e',
    950: '#000000',
  },
}
SCSS
$custom: #42591e;
$custom-light: #78885d;
$custom-dark: #000000;
JSON
{
  "hex": "#42591e",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 83.39,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.08911,
    "h": 127.8
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#42591E
secondary
#61458E
accent
#4FD985
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42591E

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

Preview Lab → · Contrast checker → · Palette generator →

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