#42512E#42512E

#42512E is a dark, muted yellow-green. Relative luminance 0.072; OKLCH L 41.2% C 0.058 H 127.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#42512E
RGBrgb(66, 81, 46)
HSLhsl(86, 28%, 25%)
HSVhsv(86, 43%, 32%)
CMYKcmyk(18.5%, 0%, 43.2%, 68.2%)
CIE-LABlab(32.35, -12.89, 18.68)
CIE-LCHlch(32.35, 22.69, 124.60°)
OKLaboklab(41.23% -0.0354 0.0459)
OKLCHoklch(41.23% 0.058 127.6)
XYZxyz(5.6823, 7.2403, 3.6824)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42512E #3D2E51
analogous
#514E2E #42512E #31512E
triadic
#42512E #2E4251 #512E42
tetradic
#42512E #2E514E #3D2E51 #512E31
square
#42512E #2E514E #3D2E51 #512E31
split-complementary
#42512E #2E3151 #4E2E51
monochromatic
#10140B #222A18 #42512E #627844 #829F5A

Accessibility & contrast

On white

8.58
#42512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#42512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42512E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42512E#FFFFFF#000000##FFFFFF
##42512E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2B
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#444E48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42512e;
/* rgb */ color: rgb(66, 81, 46);
/* oklch */ color: oklch(41.2% 0.058 127.6);
Tailwind
colors: {
  custom: {
    50: '#778267',
    500: '#42512e',
    950: '#000000',
  },
}
SCSS
$custom: #42512e;
$custom-light: #778267;
$custom-dark: #000000;
JSON
{
  "hex": "#42512e",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 85.714,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.05792,
    "h": 127.6
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#42512E
secondary
#6A5883
accent
#64C48D
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #42512E

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

Preview Lab → · Contrast checker → · Palette generator →

#42512E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva