#42822B#42822B

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

Color values

HEX#42822B
RGBrgb(66, 130, 43)
HSLhsl(104, 50%, 34%)
HSVhsv(104, 67%, 51%)
CMYKcmyk(49.2%, 0%, 66.9%, 49%)
CIE-LABlab(48.63, -37.42, 39.52)
CIE-LCHlch(48.63, 54.43, 133.44°)
OKLaboklab(54.46% -0.1031 0.0912)
OKLCHoklch(54.46% 0.138 138.5)
XYZxyz(10.6651, 17.2972, 5.0617)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42822B #6B2B82
analogous
#6E822B #42822B #2B8240
triadic
#42822B #2B4282 #822B42
tetradic
#42822B #2B6E82 #6B2B82 #82402B
square
#42822B #2B6E82 #6B2B82 #82402B
split-complementary
#42822B #402B82 #822B6E
monochromatic
#13260D #2B541C #42822B #59B03A #7ACA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42822B#FFFFFF#000000##FFFFFF
##42822B1.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)
#867720
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#3D7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42822b;
/* rgb */ color: rgb(66, 130, 43);
/* oklch */ color: oklch(54.5% 0.138 138.5);
Tailwind
colors: {
  custom: {
    50: '#7ca769',
    500: '#42822b',
    950: '#000000',
  },
}
SCSS
$custom: #42822b;
$custom-light: #7ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#42822b",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 104.138,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.13765,
    "h": 138.5
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#42822B
secondary
#9959B0
accent
#4EDAB5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #42822B

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

Preview Lab → · Contrast checker → · Palette generator →

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