#42502F#42502F

#42502F is a dark, muted yellow-green. Relative luminance 0.071; OKLCH L 41.0% C 0.055 H 127.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#42502F
RGBrgb(66, 80, 47)
HSLhsl(85, 26%, 25%)
HSVhsv(85, 41%, 31%)
CMYKcmyk(17.5%, 0%, 41.3%, 68.6%)
CIE-LABlab(32.04, -12.16, 17.67)
CIE-LCHlch(32.04, 21.45, 124.53°)
OKLaboklab(40.98% -0.0333 0.0436)
OKLCHoklch(40.98% 0.055 127.4)
XYZxyz(5.6285, 7.1008, 3.7628)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42502F #3D2F50
analogous
#504E2F #42502F #31502F
triadic
#42502F #2F4250 #502F42
tetradic
#42502F #2F504E #3D2F50 #502F31
square
#42502F #2F504E #3D2F50 #502F31
split-complementary
#42502F #2F3150 #4E2F50
monochromatic
#10130B #222918 #42502F #627746 #829D5C

Accessibility & contrast

On white

8.68
#42502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#42502F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42502F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42502F#FFFFFF#000000##FFFFFF
##42502F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#444D48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42502f;
/* rgb */ color: rgb(66, 80, 47);
/* oklch */ color: oklch(41.0% 0.055 127.4);
Tailwind
colors: {
  custom: {
    50: '#778168',
    500: '#42502f',
    950: '#000000',
  },
}
SCSS
$custom: #42502f;
$custom-light: #778168;
$custom-dark: #000000;
JSON
{
  "hex": "#42502f",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 85.455,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.05483,
    "h": 127.4
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#42502F
secondary
#6A5A81
accent
#65C28D
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A06
muted
#7B7C7A

Preview Lab

Preview with #42502F

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

Preview Lab → · Contrast checker → · Palette generator →

#42502F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva