#42550D#42550D

#42550D is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.096 H 123.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#42550D
RGBrgb(66, 85, 13)
HSLhsl(76, 73%, 19%)
HSVhsv(76, 85%, 33%)
CMYKcmyk(22.4%, 0%, 84.7%, 66.7%)
CIE-LABlab(33.32, -18.38, 36.34)
CIE-LCHlch(33.32, 40.73, 116.83°)
OKLaboklab(41.89% -0.0538 0.0799)
OKLCHoklch(41.89% 0.096 123.9)
XYZxyz(5.5680, 7.6843, 1.5706)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42550D #200D55
analogous
#55440D #42550D #1E550D
triadic
#42550D #0D4255 #550D42
tetradic
#42550D #0D5544 #200D55 #550D1E
square
#42550D #0D5544 #200D55 #550D1E
split-complementary
#42550D #0D1E55 #440D55
monochromatic
#151B04 #192005 #42550D #6B8A15 #94BF1D

Accessibility & contrast

On white

8.28
#42550D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#42550D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42550D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42550D#FFFFFF#000000##FFFFFF
##42550D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#465048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42550d;
/* rgb */ color: rgb(66, 85, 13);
/* oklch */ color: oklch(41.9% 0.096 123.9);
Tailwind
colors: {
  custom: {
    50: '#798553',
    500: '#42550d',
    950: '#000000',
  },
}
SCSS
$custom: #42550d;
$custom-light: #798553;
$custom-dark: #000000;
JSON
{
  "hex": "#42550d",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 13
  },
  "hsl": {
    "h": 75.833,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.09629,
    "h": 123.9
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#42550D
secondary
#482E90
accent
#38F068
background
#F7F8F4
surface
#EEEFE7
border
#C9CAC3
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42550D

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

Preview Lab → · Contrast checker → · Palette generator →

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