#42822C#42822C

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

Color values

HEX#42822C
RGBrgb(66, 130, 44)
HSLhsl(105, 49%, 34%)
HSVhsv(105, 66%, 51%)
CMYKcmyk(49.2%, 0%, 66.2%, 49%)
CIE-LABlab(48.64, -37.32, 39.08)
CIE-LCHlch(48.64, 54.04, 133.69°)
OKLaboklab(54.47% -0.1027 0.0904)
OKLCHoklch(54.47% 0.137 138.7)
XYZxyz(10.6836, 17.3046, 5.1595)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42822C #6C2C82
analogous
#6D822C #42822C #2C8241
triadic
#42822C #2C4282 #822C42
tetradic
#42822C #2C6D82 #6C2C82 #82412C
square
#42822C #2C6D82 #6C2C82 #82412C
split-complementary
#42822C #412C82 #822C6D
monochromatic
#14270D #2B541D #42822C #59B03B #7AC95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42822C#FFFFFF#000000##FFFFFF
##42822C1.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)
#867721
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#3D7E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #42822c;
/* rgb */ color: rgb(66, 130, 44);
/* oklch */ color: oklch(54.5% 0.137 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ca769',
    500: '#42822c',
    950: '#000000',
  },
}
SCSS
$custom: #42822c;
$custom-light: #7ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#42822c",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 104.651,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.13685,
    "h": 138.7
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#42822C
secondary
#9A5BAF
accent
#4FD9B6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #42822C

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

Preview Lab → · Contrast checker → · Palette generator →

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