#42531B#42531B

#42531B is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.5% C 0.083 H 124.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#42531B
RGBrgb(66, 83, 27)
HSLhsl(78, 51%, 22%)
HSVhsv(78, 67%, 33%)
CMYKcmyk(20.5%, 0%, 67.5%, 67.5%)
CIE-LABlab(32.75, -16.30, 29.77)
CIE-LCHlch(32.75, 33.94, 118.71°)
OKLaboklab(41.47% -0.0467 0.0685)
OKLCHoklch(41.47% 0.083 124.3)
XYZxyz(5.5379, 7.4239, 2.1779)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42531B #2C1B53
analogous
#53481B #42531B #26531B
triadic
#42531B #1B4253 #531B42
tetradic
#42531B #1B5348 #2C1B53 #531B26
square
#42531B #1B5348 #2C1B53 #531B26
split-complementary
#42531B #1B2653 #481B53
monochromatic
#121708 #1D250C #42531B #67812A #8BAF39

Accessibility & contrast

On white

8.45
#42531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42531B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42531B#FFFFFF#000000##FFFFFF
##42531B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#454F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42531b;
/* rgb */ color: rgb(66, 83, 27);
/* oklch */ color: oklch(41.5% 0.083 124.3);
Tailwind
colors: {
  custom: {
    50: '#78835a',
    500: '#42531b',
    950: '#000000',
  },
}
SCSS
$custom: #42531b;
$custom-light: #78835a;
$custom-dark: #000000;
JSON
{
  "hex": "#42531b",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 78.214,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.08285,
    "h": 124.3
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#42531B
secondary
#574189
accent
#4DDA78
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #42531B

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

Preview Lab → · Contrast checker → · Palette generator →

#42531B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva