#42550C#42550C

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

Color values

HEX#42550C
RGBrgb(66, 85, 12)
HSLhsl(76, 75%, 19%)
HSVhsv(76, 86%, 33%)
CMYKcmyk(22.4%, 0%, 85.9%, 66.7%)
CIE-LABlab(33.31, -18.43, 36.68)
CIE-LCHlch(33.31, 41.05, 116.68°)
OKLaboklab(41.88% -0.054 0.0804)
OKLCHoklch(41.88% 0.097 123.9)
XYZxyz(5.5617, 7.6817, 1.5375)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42550C #1F0C55
analogous
#55440C #42550C #1E550C
triadic
#42550C #0C4255 #550C42
tetradic
#42550C #0C5544 #1F0C55 #550C1E
square
#42550C #0C5544 #1F0C55 #550C1E
split-complementary
#42550C #0C1E55 #440C55
monochromatic
#151B04 #181F04 #42550C #6C8B14 #95C01B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42550C#FFFFFF#000000##FFFFFF
##42550C1.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: #42550c;
/* rgb */ color: rgb(66, 85, 12);
/* oklch */ color: oklch(41.9% 0.097 123.9);
Tailwind
colors: {
  custom: {
    50: '#798552',
    500: '#42550c',
    950: '#000000',
  },
}
SCSS
$custom: #42550c;
$custom-light: #798552;
$custom-dark: #000000;
JSON
{
  "hex": "#42550c",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 75.616,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.09685,
    "h": 123.9
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#42550C
secondary
#472D90
accent
#36F267
background
#F7F8F4
surface
#EEEFE7
border
#C9CAC3
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42550C

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

Preview Lab → · Contrast checker → · Palette generator →

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