#42794B#42794B

#42794B is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.5% C 0.093 H 147.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#42794B
RGBrgb(66, 121, 75)
HSLhsl(130, 29%, 37%)
HSVhsv(130, 45%, 47%)
CMYKcmyk(45.5%, 0%, 38%, 52.5%)
CIE-LABlab(46.10, -28.87, 19.71)
CIE-LCHlch(46.10, 34.96, 145.67°)
OKLaboklab(52.53% -0.0785 0.0492)
OKLCHoklch(52.53% 0.093 147.9)
XYZxyz(10.3535, 15.3403, 9.0707)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42794B #794270
analogous
#557942 #42794B #427967
triadic
#42794B #4B4279 #794B42
tetradic
#42794B #425579 #794270 #796742
square
#42794B #425579 #794270 #796742
split-complementary
#42794B #674279 #794255
monochromatic
#172A1A #2C5132 #42794B #58A164 #7DB887

Accessibility & contrast

On white

5.16
#42794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#42794B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42794B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42794B#FFFFFF#000000##FFFFFF
##42794B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7048
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#39776D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #42794b;
/* rgb */ color: rgb(66, 121, 75);
/* oklch */ color: oklch(52.5% 0.093 147.9);
Tailwind
colors: {
  custom: {
    50: '#7aa07d',
    500: '#42794b',
    950: '#000000',
  },
}
SCSS
$custom: #42794b;
$custom-light: #7aa07d;
$custom-dark: #000000;
JSON
{
  "hex": "#42794b",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 129.818,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.0927,
    "h": 147.9
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#42794B
secondary
#A3749B
accent
#62B5C6
background
#F7F9F7
surface
#EEF2EE
border
#C9CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #42794B

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

Preview Lab → · Contrast checker → · Palette generator →

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