#42861D#42861D

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

Color values

HEX#42861D
RGBrgb(66, 134, 29)
HSLhsl(99, 64%, 32%)
HSVhsv(99, 78%, 53%)
CMYKcmyk(50.7%, 0%, 78.4%, 47.5%)
CIE-LABlab(49.85, -40.24, 46.43)
CIE-LCHlch(49.85, 61.44, 130.92°)
OKLaboklab(55.43% -0.1117 0.1037)
OKLCHoklch(55.43% 0.152 137.1)
XYZxyz(10.9933, 18.2964, 4.1144)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42861D #611D86
analogous
#77861D #42861D #1D862D
triadic
#42861D #1D4286 #861D42
tetradic
#42861D #1D7786 #611D86 #862D1D
square
#42861D #1D7786 #611D86 #862D1D
split-complementary
#42861D #2D1D86 #861D77
monochromatic
#102107 #295412 #42861D #5BB828 #79D746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42861D#FFFFFF#000000##000000
##42861D1.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)
#8B7A04
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#3E8172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42861d;
/* rgb */ color: rgb(66, 134, 29);
/* oklch */ color: oklch(55.4% 0.152 137.1);
Tailwind
colors: {
  custom: {
    50: '#7eaa62',
    500: '#42861d',
    950: '#000000',
  },
}
SCSS
$custom: #42861d;
$custom-light: #7eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#42861d",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 98.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.15241,
    "h": 137.1
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#42861D
secondary
#9046B9
accent
#40E7AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #42861D

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

Preview Lab → · Contrast checker → · Palette generator →

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