#42861A#42861A

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

Color values

HEX#42861A
RGBrgb(66, 134, 26)
HSLhsl(98, 68%, 31%)
HSVhsv(98, 81%, 53%)
CMYKcmyk(50.7%, 0%, 80.6%, 47.5%)
CIE-LABlab(49.84, -40.43, 47.42)
CIE-LCHlch(49.84, 62.32, 130.45°)
OKLaboklab(55.41% -0.1124 0.1054)
OKLCHoklch(55.41% 0.154 136.8)
XYZxyz(10.9580, 18.2823, 3.9285)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42861A #5E1A86
analogous
#78861A #42861A #1A8628
triadic
#42861A #1A4286 #861A42
tetradic
#42861A #1A7886 #5E1A86 #86281A
square
#42861A #1A7886 #5E1A86 #86281A
split-complementary
#42861A #281A86 #861A78
monochromatic
#101F06 #295310 #42861A #5BB924 #79DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42861A#FFFFFF#000000##000000
##42861A1.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)
#827426
Tritanopia (blue-blind)
#3E8172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42861a;
/* rgb */ color: rgb(66, 134, 26);
/* oklch */ color: oklch(55.4% 0.154 136.8);
Tailwind
colors: {
  custom: {
    50: '#7eaa60',
    500: '#42861a',
    950: '#000000',
  },
}
SCSS
$custom: #42861a;
$custom-light: #7eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#42861a",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 97.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.15403,
    "h": 136.8
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#42861A
secondary
#8D42B9
accent
#3DEAAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #42861A

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

Preview Lab → · Contrast checker → · Palette generator →

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