#42861B#42861B

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

Color values

HEX#42861B
RGBrgb(66, 134, 27)
HSLhsl(98, 66%, 32%)
HSVhsv(98, 80%, 53%)
CMYKcmyk(50.7%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.84, -40.37, 47.10)
CIE-LCHlch(49.84, 62.03, 130.60°)
OKLaboklab(55.42% -0.1121 0.1048)
OKLCHoklch(55.42% 0.154 136.9)
XYZxyz(10.9694, 18.2868, 3.9884)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42861B #5F1B86
analogous
#78861B #42861B #1B862A
triadic
#42861B #1B4286 #861B42
tetradic
#42861B #1B7886 #5F1B86 #862A1B
square
#42861B #1B7886 #5F1B86 #862A1B
split-complementary
#42861B #2A1B86 #861B78
monochromatic
#102006 #295311 #42861B #5BB925 #79D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42861B#FFFFFF#000000##000000
##42861B1.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)
#8B7A00
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#3E8172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42861b;
/* rgb */ color: rgb(66, 134, 27);
/* oklch */ color: oklch(55.4% 0.154 136.9);
Tailwind
colors: {
  custom: {
    50: '#7eaa61',
    500: '#42861b',
    950: '#000000',
  },
}
SCSS
$custom: #42861b;
$custom-light: #7eaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#42861b",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 98.131,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.15351,
    "h": 136.9
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#42861B
secondary
#8E44B9
accent
#3EE9AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #42861B

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

Preview Lab → · Contrast checker → · Palette generator →

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