#42822A#42822A

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

Color values

HEX#42822A
RGBrgb(66, 130, 42)
HSLhsl(104, 51%, 34%)
HSVhsv(104, 68%, 51%)
CMYKcmyk(49.2%, 0%, 67.7%, 49%)
CIE-LABlab(48.62, -37.52, 39.96)
CIE-LCHlch(48.62, 54.82, 133.20°)
OKLaboklab(54.45% -0.1034 0.092)
OKLCHoklch(54.45% 0.138 138.3)
XYZxyz(10.6469, 17.2900, 4.9663)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42822A #6A2A82
analogous
#6E822A #42822A #2A823E
triadic
#42822A #2A4282 #822A42
tetradic
#42822A #2A6E82 #6A2A82 #823E2A
square
#42822A #2A6E82 #6A2A82 #823E2A
split-complementary
#42822A #3E2A82 #822A6E
monochromatic
#13250C #2B541B #42822A #59B039 #7ACA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42822A#FFFFFF#000000##FFFFFF
##42822A1.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)
#86771F
Deuteranopia (green-blind)
#7E7132
Tritanopia (blue-blind)
#3D7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42822a;
/* rgb */ color: rgb(66, 130, 42);
/* oklch */ color: oklch(54.5% 0.138 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ca768',
    500: '#42822a',
    950: '#000000',
  },
}
SCSS
$custom: #42822a;
$custom-light: #7ca768;
$custom-dark: #000000;
JSON
{
  "hex": "#42822a",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 103.636,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.13843,
    "h": 138.3
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#42822A
secondary
#9858B0
accent
#4DDBB4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #42822A

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

Preview Lab → · Contrast checker → · Palette generator →

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