#42802F#42802F

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

Color values

HEX#42802F
RGBrgb(66, 128, 47)
HSLhsl(106, 46%, 34%)
HSVhsv(106, 63%, 50%)
CMYKcmyk(48.4%, 0%, 63.3%, 49.8%)
CIE-LABlab(48.01, -36.15, 36.97)
CIE-LCHlch(48.01, 51.71, 134.36°)
OKLaboklab(53.96% -0.0993 0.0862)
OKLCHoklch(53.96% 0.132 139)
XYZxyz(10.4786, 16.8011, 5.3796)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42802F #6D2F80
analogous
#6B802F #42802F #2F8045
triadic
#42802F #2F4280 #802F42
tetradic
#42802F #2F6B80 #6D2F80 #80452F
square
#42802F #2F6B80 #6D2F80 #80452F
split-complementary
#42802F #452F80 #802F6B
monochromatic
#14260E #2B531F #42802F #59AD3F #7BC663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42802F#FFFFFF#000000##FFFFFF
##42802F1.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)
#847526
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#3D7C6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42802f;
/* rgb */ color: rgb(66, 128, 47);
/* oklch */ color: oklch(54.0% 0.132 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ca56b',
    500: '#42802f',
    950: '#000000',
  },
}
SCSS
$custom: #42802f;
$custom-light: #7ca56b;
$custom-dark: #000000;
JSON
{
  "hex": "#42802f",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 105.926,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.13157,
    "h": 139
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#42802F
secondary
#9A5EAD
accent
#52D6B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #42802F

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

Preview Lab → · Contrast checker → · Palette generator →

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