#42822D#42822D

#42822D is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.5% C 0.136 H 138.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#42822D
RGBrgb(66, 130, 45)
HSLhsl(105, 49%, 34%)
HSVhsv(105, 65%, 51%)
CMYKcmyk(49.2%, 0%, 65.4%, 49%)
CIE-LABlab(48.65, -37.22, 38.63)
CIE-LCHlch(48.65, 53.64, 133.94°)
OKLaboklab(54.48% -0.1024 0.0896)
OKLCHoklch(54.48% 0.136 138.8)
XYZxyz(10.7027, 17.3122, 5.2597)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42822D #6D2D82
analogous
#6D822D #42822D #2D8243
triadic
#42822D #2D4282 #822D42
tetradic
#42822D #2D6D82 #6D2D82 #82432D
square
#42822D #2D6D82 #6D2D82 #82432D
split-complementary
#42822D #432D82 #822D6D
monochromatic
#14270E #2B551D #42822D #59AF3D #7BC861

Accessibility & contrast

On white

4.71
#42822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#42822D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42822D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42822D#FFFFFF#000000##FFFFFF
##42822D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#3D7E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #42822d;
/* rgb */ color: rgb(66, 130, 45);
/* oklch */ color: oklch(54.5% 0.136 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ca76a',
    500: '#42822d',
    950: '#000000',
  },
}
SCSS
$custom: #42822d;
$custom-light: #7ca76a;
$custom-dark: #000000;
JSON
{
  "hex": "#42822d",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 105.176,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.13603,
    "h": 138.8
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#42822D
secondary
#9A5CAF
accent
#50D8B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #42822D

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

Preview Lab → · Contrast checker → · Palette generator →

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