#42861C#42861C

#42861C is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.4% C 0.153 H 137.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#42861C
RGBrgb(66, 134, 28)
HSLhsl(98, 65%, 32%)
HSVhsv(98, 79%, 53%)
CMYKcmyk(50.7%, 0%, 79.1%, 47.5%)
CIE-LABlab(49.85, -40.30, 46.77)
CIE-LCHlch(49.85, 61.74, 130.76°)
OKLaboklab(55.43% -0.1119 0.1043)
OKLCHoklch(55.43% 0.153 137)
XYZxyz(10.9811, 18.2915, 4.0504)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42861C #601C86
analogous
#77861C #42861C #1C862B
triadic
#42861C #1C4286 #861C42
tetradic
#42861C #1C7786 #601C86 #862B1C
square
#42861C #1C7786 #601C86 #862B1C
split-complementary
#42861C #2B1C86 #861C77
monochromatic
#102107 #295311 #42861C #5BB927 #79D844

Accessibility & contrast

On white

4.51
#42861C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#42861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42861C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42861C#FFFFFF#000000##000000
##42861C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#3E8172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42861c;
/* rgb */ color: rgb(66, 134, 28);
/* oklch */ color: oklch(55.4% 0.153 137.0);
Tailwind
colors: {
  custom: {
    50: '#7eaa61',
    500: '#42861c',
    950: '#000000',
  },
}
SCSS
$custom: #42861c;
$custom-light: #7eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#42861c",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 98.491,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.15297,
    "h": 137
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#42861C
secondary
#8F45B9
accent
#3FE8AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #42861C

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

Preview Lab → · Contrast checker → · Palette generator →

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