#42591F#42591F

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

Color values

HEX#42591F
RGBrgb(66, 89, 31)
HSLhsl(84, 48%, 24%)
HSVhsv(84, 65%, 35%)
CMYKcmyk(25.8%, 0%, 65.2%, 65.1%)
CIE-LABlab(34.81, -19.17, 30.02)
CIE-LCHlch(34.81, 35.62, 122.57°)
OKLaboklab(43.14% -0.0542 0.0696)
OKLCHoklch(43.14% 0.088 127.9)
XYZxyz(6.0665, 8.4018, 2.5982)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42591F #361F59
analogous
#59531F #42591F #25591F
triadic
#42591F #1F4259 #591F42
tetradic
#42591F #1F5953 #361F59 #591F25
square
#42591F #1F5953 #361F59 #591F25
split-complementary
#42591F #1F2559 #531F59
monochromatic
#111708 #202C0F #42591F #64862F #85B43F

Accessibility & contrast

On white

7.83
#42591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42591F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42591F#FFFFFF#000000##FFFFFF
##42591F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5318
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#44554D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #42591f;
/* rgb */ color: rgb(66, 89, 31);
/* oklch */ color: oklch(43.1% 0.088 127.9);
Tailwind
colors: {
  custom: {
    50: '#78885d',
    500: '#42591f',
    950: '#000000',
  },
}
SCSS
$custom: #42591f;
$custom-light: #78885d;
$custom-dark: #000000;
JSON
{
  "hex": "#42591f",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 83.793,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.08817,
    "h": 127.9
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#42591F
secondary
#62468E
accent
#50D886
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42591F

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

Preview Lab → · Contrast checker → · Palette generator →

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