#42802D#42802D

#42802D is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.9% C 0.133 H 138.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#42802D
RGBrgb(66, 128, 45)
HSLhsl(105, 48%, 34%)
HSVhsv(105, 65%, 50%)
CMYKcmyk(48.4%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.99, -36.36, 37.89)
CIE-LCHlch(47.99, 52.52, 133.82°)
OKLaboklab(53.94% -0.1001 0.088)
OKLCHoklch(53.94% 0.133 138.7)
XYZxyz(10.4392, 16.7854, 5.1719)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42802D #6B2D80
analogous
#6C802D #42802D #2D8042
triadic
#42802D #2D4280 #802D42
tetradic
#42802D #2D6C80 #6B2D80 #80422D
square
#42802D #2D6C80 #6B2D80 #80422D
split-complementary
#42802D #422D80 #802D6C
monochromatic
#13250D #2B531D #42802D #59AD3D #7AC760

Accessibility & contrast

On white

4.82
#42802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#42802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42802D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42802D#FFFFFF#000000##FFFFFF
##42802D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847523
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#3D7C6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42802d;
/* rgb */ color: rgb(66, 128, 45);
/* oklch */ color: oklch(53.9% 0.133 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ca56a',
    500: '#42802d',
    950: '#000000',
  },
}
SCSS
$custom: #42802d;
$custom-light: #7ca56a;
$custom-dark: #000000;
JSON
{
  "hex": "#42802d",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 104.819,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.13325,
    "h": 138.7
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#42802D
secondary
#995BAE
accent
#50D8B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #42802D

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

Preview Lab → · Contrast checker → · Palette generator →

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