#42862C#42862C

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

Color values

HEX#42862C
RGBrgb(66, 134, 44)
HSLhsl(105, 51%, 35%)
HSVhsv(105, 67%, 53%)
CMYKcmyk(50.7%, 0%, 67.2%, 47.5%)
CIE-LABlab(49.97, -39.01, 40.52)
CIE-LCHlch(49.97, 56.25, 133.91°)
OKLaboklab(55.56% -0.1073 0.0935)
OKLCHoklch(55.56% 0.142 139)
XYZxyz(11.2261, 18.3895, 5.3404)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42862C #702C86
analogous
#6F862C #42862C #2C8643
triadic
#42862C #2C4286 #862C42
tetradic
#42862C #2C6F86 #702C86 #86432C
square
#42862C #2C6F86 #702C86 #86432C
split-complementary
#42862C #432C86 #862C6F
monochromatic
#152A0E #2B581D #42862C #59B43B #7BCB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42862C#FFFFFF#000000##000000
##42862C1.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)
#8A7A20
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#3C8173
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42862c;
/* rgb */ color: rgb(66, 134, 44);
/* oklch */ color: oklch(55.6% 0.142 139.0);
Tailwind
colors: {
  custom: {
    50: '#7daa6a',
    500: '#42862c',
    950: '#000000',
  },
}
SCSS
$custom: #42862c;
$custom-light: #7daa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42862c",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 105.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.14231,
    "h": 139
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#42862C
secondary
#9D5CB1
accent
#4EDAB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42862C

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

Preview Lab → · Contrast checker → · Palette generator →

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