#42581E#42581E

#42581E is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.9% C 0.088 H 127.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#42581E
RGBrgb(66, 88, 30)
HSLhsl(83, 49%, 23%)
HSVhsv(83, 66%, 35%)
CMYKcmyk(25%, 0%, 65.9%, 65.5%)
CIE-LABlab(34.46, -18.74, 30.14)
CIE-LCHlch(34.46, 35.49, 121.87°)
OKLaboklab(42.86% -0.0531 0.0697)
OKLCHoklch(42.86% 0.088 127.3)
XYZxyz(5.9708, 8.2313, 2.5023)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42581E #341E58
analogous
#58511E #42581E #25581E
triadic
#42581E #1E4258 #581E42
tetradic
#42581E #1E5851 #341E58 #581E25
square
#42581E #1E5851 #341E58 #581E25
split-complementary
#42581E #1E2558 #511E58
monochromatic
#111708 #202A0E #42581E #64862E #86B33D

Accessibility & contrast

On white

7.94
#42581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#42581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42581E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42581E#FFFFFF#000000##FFFFFF
##42581E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5217
Deuteranopia (green-blind)
#595122
Tritanopia (blue-blind)
#44544C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42581e;
/* rgb */ color: rgb(66, 88, 30);
/* oklch */ color: oklch(42.9% 0.088 127.3);
Tailwind
colors: {
  custom: {
    50: '#78875c',
    500: '#42581e',
    950: '#000000',
  },
}
SCSS
$custom: #42581e;
$custom-light: #78875c;
$custom-dark: #000000;
JSON
{
  "hex": "#42581e",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 82.759,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.08759,
    "h": 127.3
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#42581E
secondary
#60458D
accent
#4FD983
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42581E

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

Preview Lab → · Contrast checker → · Palette generator →

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