#42551A#42551A

#42551A is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.0% C 0.087 H 125.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#42551A
RGBrgb(66, 85, 26)
HSLhsl(79, 53%, 22%)
HSVhsv(79, 69%, 33%)
CMYKcmyk(22.4%, 0%, 69.4%, 66.7%)
CIE-LABlab(33.41, -17.49, 30.97)
CIE-LCHlch(33.41, 35.57, 119.45°)
OKLaboklab(42% -0.05 0.0709)
OKLCHoklch(42% 0.087 125.2)
XYZxyz(5.6817, 7.7298, 2.1697)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42551A #2D1A55
analogous
#554B1A #42551A #25551A
triadic
#42551A #1A4255 #551A42
tetradic
#42551A #1A554B #2D1A55 #551A25
square
#42551A #1A554B #2D1A55 #551A25
split-complementary
#42551A #1A2555 #4B1A55
monochromatic
#121707 #1E260C #42551A #668428 #8BB337

Accessibility & contrast

On white

8.25
#42551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#42551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42551A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42551A#FFFFFF#000000##FFFFFF
##42551A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F13
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#455149
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42551a;
/* rgb */ color: rgb(66, 85, 26);
/* oklch */ color: oklch(42.0% 0.087 125.2);
Tailwind
colors: {
  custom: {
    50: '#78855a',
    500: '#42551a',
    950: '#000000',
  },
}
SCSS
$custom: #42551a;
$custom-light: #78855a;
$custom-dark: #000000;
JSON
{
  "hex": "#42551a",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 79.322,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42,
    "c": 0.08676,
    "h": 125.2
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#42551A
secondary
#58408B
accent
#4BDD7A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42551A

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

Preview Lab → · Contrast checker → · Palette generator →

#42551A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva