#42862B#42862B

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

Color values

HEX#42862B
RGBrgb(66, 134, 43)
HSLhsl(105, 51%, 35%)
HSVhsv(105, 68%, 53%)
CMYKcmyk(50.7%, 0%, 67.9%, 47.5%)
CIE-LABlab(49.96, -39.11, 40.96)
CIE-LCHlch(49.96, 56.63, 133.68°)
OKLaboklab(55.55% -0.1077 0.0942)
OKLCHoklch(55.55% 0.143 138.8)
XYZxyz(11.2075, 18.3821, 5.2425)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42862B #6F2B86
analogous
#70862B #42862B #2B8642
triadic
#42862B #2B4286 #862B42
tetradic
#42862B #2B7086 #6F2B86 #86422B
square
#42862B #2B7086 #6F2B86 #86422B
split-complementary
#42862B #422B86 #862B70
monochromatic
#14290D #2B581C #42862B #59B43A #7BCC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42862B#FFFFFF#000000##000000
##42862B1.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)
#8A7A1F
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#3C8173
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42862b;
/* rgb */ color: rgb(66, 134, 43);
/* oklch */ color: oklch(55.5% 0.143 138.8);
Tailwind
colors: {
  custom: {
    50: '#7daa69',
    500: '#42862b',
    950: '#000000',
  },
}
SCSS
$custom: #42862b;
$custom-light: #7daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#42862b",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 104.835,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.14309,
    "h": 138.8
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#42862B
secondary
#9C5BB2
accent
#4DDBB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #42862B

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

Preview Lab → · Contrast checker → · Palette generator →

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