#42894D#42894D

#42894D is a mid, moderate green. Relative luminance 0.196; OKLCH L 56.8% C 0.116 H 147.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#42894D
RGBrgb(66, 137, 77)
HSLhsl(129, 35%, 40%)
HSVhsv(129, 52%, 54%)
CMYKcmyk(51.8%, 0%, 43.8%, 46.3%)
CIE-LABlab(51.36, -35.88, 25.49)
CIE-LCHlch(51.36, 44.01, 144.61°)
OKLaboklab(56.84% -0.0974 0.0628)
OKLCHoklch(56.84% 0.116 147.2)
XYZxyz(12.5312, 19.5844, 10.1396)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42894D #89427E
analogous
#5B8942 #42894D #428971
triadic
#42894D #4D4289 #894D42
tetradic
#42894D #425B89 #89427E #897142
square
#42894D #425B89 #89427E #897142
split-complementary
#42894D #714289 #89425B
monochromatic
#1A361F #2E6036 #42894D #59AF66 #82C38C

Accessibility & contrast

On white

4.27
#42894D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#42894D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42894D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42894D#FFFFFF#000000##000000
##42894D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E49
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#35867A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #42894d;
/* rgb */ color: rgb(66, 137, 77);
/* oklch */ color: oklch(56.8% 0.116 147.2);
Tailwind
colors: {
  custom: {
    50: '#7cac7f',
    500: '#42894d',
    950: '#000000',
  },
}
SCSS
$custom: #42894d;
$custom-light: #7cac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#42894d",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 77
  },
  "hsl": {
    "h": 129.296,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.11586,
    "h": 147.2
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#42894D
secondary
#AE79A6
accent
#5DBACB
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #42894D

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

Preview Lab → · Contrast checker → · Palette generator →

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