#42531A#42531A

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

Color values

HEX#42531A
RGBrgb(66, 83, 26)
HSLhsl(78, 52%, 21%)
HSVhsv(78, 69%, 33%)
CMYKcmyk(20.5%, 0%, 68.7%, 67.5%)
CIE-LABlab(32.74, -16.39, 30.25)
CIE-LCHlch(32.74, 34.41, 118.45°)
OKLaboklab(41.46% -0.047 0.0693)
OKLCHoklch(41.46% 0.084 124.1)
XYZxyz(5.5265, 7.4193, 2.1180)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42531A #2B1A53
analogous
#53481A #42531A #26531A
triadic
#42531A #1A4253 #531A42
tetradic
#42531A #1A5348 #2B1A53 #531A26
square
#42531A #1A5348 #2B1A53 #531A26
split-complementary
#42531A #1A2653 #481A53
monochromatic
#131707 #1D240B #42531A #678229 #8CB037

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42531A#FFFFFF#000000##FFFFFF
##42531A1.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)
#584E13
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#454F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42531a;
/* rgb */ color: rgb(66, 83, 26);
/* oklch */ color: oklch(41.5% 0.084 124.1);
Tailwind
colors: {
  custom: {
    50: '#788359',
    500: '#42531a',
    950: '#000000',
  },
}
SCSS
$custom: #42531a;
$custom-light: #788359;
$custom-dark: #000000;
JSON
{
  "hex": "#42531a",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 77.895,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.08378,
    "h": 124.1
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#42531A
secondary
#564089
accent
#4CDC77
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #42531A

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

Preview Lab → · Contrast checker → · Palette generator →

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