#42861E#42861E

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

Color values

HEX#42861E
RGBrgb(66, 134, 30)
HSLhsl(99, 63%, 32%)
HSVhsv(99, 78%, 53%)
CMYKcmyk(50.7%, 0%, 77.6%, 47.5%)
CIE-LABlab(49.86, -40.17, 46.08)
CIE-LCHlch(49.86, 61.13, 131.08°)
OKLaboklab(55.44% -0.1114 0.1032)
OKLCHoklch(55.44% 0.152 137.2)
XYZxyz(11.0059, 18.3014, 4.1806)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42861E #621E86
analogous
#76861E #42861E #1E862E
triadic
#42861E #1E4286 #861E42
tetradic
#42861E #1E7686 #621E86 #862E1E
square
#42861E #1E7686 #621E86 #862E1E
split-complementary
#42861E #2E1E86 #861E76
monochromatic
#112208 #295413 #42861E #5BB829 #79D648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42861E#FFFFFF#000000##000000
##42861E1.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)
#8B7A07
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#3E8172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42861e;
/* rgb */ color: rgb(66, 134, 30);
/* oklch */ color: oklch(55.4% 0.152 137.2);
Tailwind
colors: {
  custom: {
    50: '#7daa62',
    500: '#42861e',
    950: '#000000',
  },
}
SCSS
$custom: #42861e;
$custom-light: #7daa62;
$custom-dark: #000000;
JSON
{
  "hex": "#42861e",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 99.231,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.15184,
    "h": 137.2
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#42861E
secondary
#9147B8
accent
#41E6AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #42861E

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

Preview Lab → · Contrast checker → · Palette generator →

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