#42881E#42881E

#42881E is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.0% C 0.154 H 137.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#42881E
RGBrgb(66, 136, 30)
HSLhsl(100, 64%, 33%)
HSVhsv(100, 78%, 53%)
CMYKcmyk(51.5%, 0%, 77.9%, 46.7%)
CIE-LABlab(50.52, -40.99, 46.73)
CIE-LCHlch(50.52, 62.15, 131.26°)
OKLaboklab(55.99% -0.1136 0.1045)
OKLCHoklch(55.99% 0.154 137.4)
XYZxyz(11.2849, 18.8595, 4.2736)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42881E #641E88
analogous
#77881E #42881E #1E882F
triadic
#42881E #1E4288 #881E42
tetradic
#42881E #1E7788 #641E88 #882F1E
square
#42881E #1E7788 #641E88 #882F1E
split-complementary
#42881E #2F1E88 #881E77
monochromatic
#112408 #2A5613 #42881E #5ABA29 #7AD749

Accessibility & contrast

On white

4.40
#42881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#42881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42881E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42881E#FFFFFF#000000##000000
##42881E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#3D8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42881e;
/* rgb */ color: rgb(66, 136, 30);
/* oklch */ color: oklch(56.0% 0.154 137.4);
Tailwind
colors: {
  custom: {
    50: '#7eab62',
    500: '#42881e',
    950: '#000000',
  },
}
SCSS
$custom: #42881e;
$custom-light: #7eab62;
$custom-dark: #000000;
JSON
{
  "hex": "#42881e",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 99.623,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.15438,
    "h": 137.4
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#42881E
secondary
#9349B9
accent
#41E7AF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #42881E

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

Preview Lab → · Contrast checker → · Palette generator →

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