#42503A#42503A

#42503A is a dark, muted yellow-green. Relative luminance 0.072; OKLCH L 41.2% C 0.040 H 134.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#42503A
RGBrgb(66, 80, 58)
HSLhsl(98, 16%, 27%)
HSVhsv(98, 28%, 31%)
CMYKcmyk(17.5%, 0%, 27.5%, 68.6%)
CIE-LABlab(32.26, -10.28, 11.20)
CIE-LCHlch(32.26, 15.20, 132.56°)
OKLaboklab(41.24% -0.0278 0.0284)
OKLCHoklch(41.24% 0.04 134.4)
XYZxyz(5.8790, 7.2010, 5.0824)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42503A #483A50
analogous
#4D503A #42503A #3A503D
triadic
#42503A #3A4250 #503A42
tetradic
#42503A #3A4D50 #483A50 #503D3A
square
#42503A #3A4D50 #483A50 #503D3A
split-complementary
#42503A #3D3A50 #503A4D
monochromatic
#0F120D #252D20 #42503A #5F7354 #7D966E

Accessibility & contrast

On white

8.61
#42503A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#42503A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42503A
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42503A#FFFFFF#000000##FFFFFF
##42503A1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D39
Deuteranopia (green-blind)
#504B3B
Tritanopia (blue-blind)
#424E4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42503a;
/* rgb */ color: rgb(66, 80, 58);
/* oklch */ color: oklch(41.2% 0.040 134.4);
Tailwind
colors: {
  custom: {
    50: '#768170',
    500: '#42503a',
    950: '#000000',
  },
}
SCSS
$custom: #42503a;
$custom-light: #768170;
$custom-dark: #000000;
JSON
{
  "hex": "#42503a",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 58
  },
  "hsl": {
    "h": 98.182,
    "s": 15.942,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.03978,
    "h": 134.4
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#42503A
secondary
#766680
accent
#6FB99E
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #42503A

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

Preview Lab → · Contrast checker → · Palette generator →

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