#42550E#42550E

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

Color values

HEX#42550E
RGBrgb(66, 85, 14)
HSLhsl(76, 72%, 19%)
HSVhsv(76, 84%, 33%)
CMYKcmyk(22.4%, 0%, 83.5%, 66.7%)
CIE-LABlab(33.32, -18.33, 36.00)
CIE-LCHlch(33.32, 40.39, 116.99°)
OKLaboklab(41.9% -0.0535 0.0793)
OKLCHoklch(41.9% 0.096 124)
XYZxyz(5.5746, 7.6869, 1.6054)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42550E #210E55
analogous
#55450E #42550E #1F550E
triadic
#42550E #0E4255 #550E42
tetradic
#42550E #0E5545 #210E55 #550E1F
square
#42550E #0E5545 #210E55 #550E1F
split-complementary
#42550E #0E1F55 #450E55
monochromatic
#141A04 #192005 #42550E #6B8A17 #94BE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42550E#FFFFFF#000000##FFFFFF
##42550E1.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)
#584E15
Tritanopia (blue-blind)
#465048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42550e;
/* rgb */ color: rgb(66, 85, 14);
/* oklch */ color: oklch(41.9% 0.096 124.0);
Tailwind
colors: {
  custom: {
    50: '#798553',
    500: '#42550e',
    950: '#000000',
  },
}
SCSS
$custom: #42550e;
$custom-light: #798553;
$custom-dark: #000000;
JSON
{
  "hex": "#42550e",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 14
  },
  "hsl": {
    "h": 76.056,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.09571,
    "h": 124
  },
  "luminance": 0.07687
}

Semantic roles & 50–950 ramp

primary
#42550E
secondary
#49308F
accent
#39EE6A
background
#F7F8F4
surface
#EEEFE8
border
#C9CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42550E

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

Preview Lab → · Contrast checker → · Palette generator →

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