#42862D#42862D

#42862D is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.6% C 0.142 H 139.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#42862D
RGBrgb(66, 134, 45)
HSLhsl(106, 50%, 35%)
HSVhsv(106, 66%, 53%)
CMYKcmyk(50.7%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.97, -38.91, 40.08)
CIE-LCHlch(49.97, 55.87, 134.15°)
OKLaboklab(55.57% -0.107 0.0926)
OKLCHoklch(55.57% 0.142 139.1)
XYZxyz(11.2451, 18.3971, 5.4406)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42862D #712D86
analogous
#6E862D #42862D #2D8645
triadic
#42862D #2D4286 #862D42
tetradic
#42862D #2D6E86 #712D86 #86452D
square
#42862D #2D6E86 #712D86 #86452D
split-complementary
#42862D #452D86 #862D6E
monochromatic
#152A0E #2B581E #42862D #59B43C #7BCB63

Accessibility & contrast

On white

4.49
#42862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#42862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42862D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42862D#FFFFFF#000000##000000
##42862D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A22
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#3C8274
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42862d;
/* rgb */ color: rgb(66, 134, 45);
/* oklch */ color: oklch(55.6% 0.142 139.1);
Tailwind
colors: {
  custom: {
    50: '#7daa6a',
    500: '#42862d',
    950: '#000000',
  },
}
SCSS
$custom: #42862d;
$custom-light: #7daa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42862d",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 105.843,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55571,
    "c": 0.14153,
    "h": 139.1
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#42862D
secondary
#9D5EB1
accent
#4FD9B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42862D

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

Preview Lab → · Contrast checker → · Palette generator →

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