#42813B#42813B

#42813B is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.4% C 0.122 H 141.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#42813B
RGBrgb(66, 129, 59)
HSLhsl(114, 37%, 37%)
HSVhsv(114, 54%, 51%)
CMYKcmyk(48.8%, 0%, 54.3%, 49.4%)
CIE-LABlab(48.48, -35.11, 31.52)
CIE-LCHlch(48.48, 47.18, 138.08°)
OKLaboklab(54.39% -0.0958 0.0755)
OKLCHoklch(54.39% 0.122 141.8)
XYZxyz(10.8860, 17.1738, 6.8781)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42813B #7A3B81
analogous
#65813B #42813B #3B8157
triadic
#42813B #3B4281 #813B42
tetradic
#42813B #3B6581 #7A3B81 #81573B
square
#42813B #3B6581 #7A3B81 #81573B
split-complementary
#42813B #573B81 #813B65
monochromatic
#172D15 #2D5728 #42813B #57AB4E #7DC076

Accessibility & contrast

On white

4.74
#42813B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#42813B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42813B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42813B#FFFFFF#000000##FFFFFF
##42813B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847735
Deuteranopia (green-blind)
#7B7140
Tritanopia (blue-blind)
#3B7D71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42813b;
/* rgb */ color: rgb(66, 129, 59);
/* oklch */ color: oklch(54.4% 0.122 141.8);
Tailwind
colors: {
  custom: {
    50: '#7ba673',
    500: '#42813b',
    950: '#000000',
  },
}
SCSS
$custom: #42813b;
$custom-light: #7ba673;
$custom-dark: #000000;
JSON
{
  "hex": "#42813b",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 59
  },
  "hsl": {
    "h": 114,
    "s": 37.234,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54393,
    "c": 0.12195,
    "h": 141.8
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#42813B
secondary
#A46EAA
accent
#5BCDC2
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #42813B

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

Preview Lab → · Contrast checker → · Palette generator →

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