#42813D#42813D

#42813D is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.120 H 142.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#42813D
RGBrgb(66, 129, 61)
HSLhsl(116, 36%, 37%)
HSVhsv(116, 53%, 51%)
CMYKcmyk(48.8%, 0%, 52.7%, 49.4%)
CIE-LABlab(48.50, -34.83, 30.50)
CIE-LCHlch(48.50, 46.30, 138.79°)
OKLaboklab(54.42% -0.0949 0.0734)
OKLCHoklch(54.42% 0.12 142.3)
XYZxyz(10.9388, 17.1949, 7.1565)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42813D #7C3D81
analogous
#64813D #42813D #3D815A
triadic
#42813D #3D4281 #813D42
tetradic
#42813D #3D6481 #7C3D81 #815A3D
square
#42813D #3D6481 #7C3D81 #815A3D
split-complementary
#42813D #5A3D81 #813D64
monochromatic
#172E16 #2D5729 #42813D #57AB51 #7EC079

Accessibility & contrast

On white

4.73
#42813D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#42813D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42813D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42813D#FFFFFF#000000##FFFFFF
##42813D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847737
Deuteranopia (green-blind)
#7B7142
Tritanopia (blue-blind)
#3B7E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42813d;
/* rgb */ color: rgb(66, 129, 61);
/* oklch */ color: oklch(54.4% 0.120 142.3);
Tailwind
colors: {
  custom: {
    50: '#7ba674',
    500: '#42813d',
    950: '#000000',
  },
}
SCSS
$custom: #42813d;
$custom-light: #7ba674;
$custom-dark: #000000;
JSON
{
  "hex": "#42813d",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 61
  },
  "hsl": {
    "h": 115.588,
    "s": 35.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.11999,
    "h": 142.3
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#42813D
secondary
#A570A9
accent
#5CCCC4
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #42813D

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

Preview Lab → · Contrast checker → · Palette generator →

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