#42813A#42813A

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

Color values

HEX#42813A
RGBrgb(66, 129, 58)
HSLhsl(113, 38%, 37%)
HSVhsv(113, 55%, 51%)
CMYKcmyk(48.8%, 0%, 55%, 49.4%)
CIE-LABlab(48.47, -35.24, 32.02)
CIE-LCHlch(48.47, 47.62, 137.74°)
OKLaboklab(54.38% -0.0962 0.0765)
OKLCHoklch(54.38% 0.123 141.5)
XYZxyz(10.8603, 17.1635, 6.7428)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42813A #793A81
analogous
#66813A #42813A #3A8156
triadic
#42813A #3A4281 #813A42
tetradic
#42813A #3A6681 #793A81 #81563A
square
#42813A #3A6681 #793A81 #81563A
split-complementary
#42813A #563A81 #813A66
monochromatic
#172D14 #2C5727 #42813A #58AB4D #7DC175

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42813A#FFFFFF#000000##FFFFFF
##42813A1.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)
#847734
Deuteranopia (green-blind)
#7B713F
Tritanopia (blue-blind)
#3B7D71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42813a;
/* rgb */ color: rgb(66, 129, 58);
/* oklch */ color: oklch(54.4% 0.123 141.5);
Tailwind
colors: {
  custom: {
    50: '#7ba672',
    500: '#42813a',
    950: '#000000',
  },
}
SCSS
$custom: #42813a;
$custom-light: #7ba672;
$custom-dark: #000000;
JSON
{
  "hex": "#42813a",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 58
  },
  "hsl": {
    "h": 113.239,
    "s": 37.968,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.12293,
    "h": 141.5
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#42813A
secondary
#A36DAA
accent
#5ACEC1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #42813A

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

Preview Lab → · Contrast checker → · Palette generator →

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