#42531D#42531D

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

Color values

HEX#42531D
RGBrgb(66, 83, 29)
HSLhsl(79, 48%, 22%)
HSVhsv(79, 65%, 33%)
CMYKcmyk(20.5%, 0%, 65.1%, 67.5%)
CIE-LABlab(32.77, -16.12, 28.78)
CIE-LCHlch(32.77, 32.98, 119.25°)
OKLaboklab(41.49% -0.0459 0.0666)
OKLCHoklch(41.49% 0.081 124.6)
XYZxyz(5.5618, 7.4334, 2.3039)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42531D #2E1D53
analogous
#53491D #42531D #27531D
triadic
#42531D #1D4253 #531D42
tetradic
#42531D #1D5349 #2E1D53 #531D27
square
#42531D #1D5349 #2E1D53 #531D27
split-complementary
#42531D #1D2753 #491D53
monochromatic
#121708 #1E260D #42531D #66802D #8AAE3D

Accessibility & contrast

On white

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

On black

2.49
#42531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##42531D#FFFFFF#000000##FFFFFF
##42531D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#454F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42531d;
/* rgb */ color: rgb(66, 83, 29);
/* oklch */ color: oklch(41.5% 0.081 124.6);
Tailwind
colors: {
  custom: {
    50: '#78835b',
    500: '#42531d',
    950: '#000000',
  },
}
SCSS
$custom: #42531d;
$custom-light: #78835b;
$custom-dark: #000000;
JSON
{
  "hex": "#42531d",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 78.889,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.08093,
    "h": 124.6
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#42531D
secondary
#594488
accent
#50D87B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #42531D

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

Preview Lab → · Contrast checker → · Palette generator →

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