#42822F#42822F

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

Color values

HEX#42822F
RGBrgb(66, 130, 47)
HSLhsl(106, 47%, 35%)
HSVhsv(106, 64%, 51%)
CMYKcmyk(49.2%, 0%, 63.8%, 49%)
CIE-LABlab(48.67, -37.01, 37.72)
CIE-LCHlch(48.67, 52.84, 134.46°)
OKLaboklab(54.51% -0.1017 0.0878)
OKLCHoklch(54.51% 0.134 139.2)
XYZxyz(10.7421, 17.3280, 5.4674)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42822F #6F2F82
analogous
#6C822F #42822F #2F8246
triadic
#42822F #2F4282 #822F42
tetradic
#42822F #2F6C82 #6F2F82 #82462F
square
#42822F #2F6C82 #6F2F82 #82462F
split-complementary
#42822F #462F82 #822F6C
monochromatic
#14280E #2B551F #42822F #59AF3F #7BC764

Accessibility & contrast

On white

4.70
#42822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#42822F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42822F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42822F#FFFFFF#000000##FFFFFF
##42822F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42822f;
/* rgb */ color: rgb(66, 130, 47);
/* oklch */ color: oklch(54.5% 0.134 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ca76b',
    500: '#42822f',
    950: '#000000',
  },
}
SCSS
$custom: #42822f;
$custom-light: #7ca76b;
$custom-dark: #000000;
JSON
{
  "hex": "#42822f",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 106.265,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.13438,
    "h": 139.2
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#42822F
secondary
#9C5FAE
accent
#51D7B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #42822F

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

Preview Lab → · Contrast checker → · Palette generator →

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