#42742E#42742E

#42742E is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.7% C 0.115 H 137.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#42742E
RGBrgb(66, 116, 46)
HSLhsl(103, 43%, 32%)
HSVhsv(103, 60%, 45%)
CMYKcmyk(43.1%, 0%, 60.3%, 54.5%)
CIE-LABlab(44.01, -30.90, 32.90)
CIE-LCHlch(44.01, 45.13, 133.21°)
OKLaboklab(50.69% -0.0851 0.0774)
OKLCHoklch(50.69% 0.115 137.7)
XYZxyz(8.9850, 13.8458, 4.7833)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42742E #602E74
analogous
#65742E #42742E #2E743D
triadic
#42742E #2E4274 #742E42
tetradic
#42742E #2E6574 #602E74 #743D2E
square
#42742E #2E6574 #602E74 #743D2E
split-complementary
#42742E #3D2E74 #742E65
monochromatic
#101C0B #29481D #42742E #5BA03F #79BF5D

Accessibility & contrast

On white

5.57
#42742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#42742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42742E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42742E#FFFFFF#000000##FFFFFF
##42742E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B27
Deuteranopia (green-blind)
#716633
Tritanopia (blue-blind)
#3F7065
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #42742e;
/* rgb */ color: rgb(66, 116, 46);
/* oklch */ color: oklch(50.7% 0.115 137.7);
Tailwind
colors: {
  custom: {
    50: '#7a9c69',
    500: '#42742e',
    950: '#000000',
  },
}
SCSS
$custom: #42742e;
$custom-light: #7a9c69;
$custom-dark: #000000;
JSON
{
  "hex": "#42742e",
  "rgb": {
    "r": 66,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 102.857,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.11504,
    "h": 137.7
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#42742E
secondary
#8F59A5
accent
#55D3AF
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #42742E

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

Preview Lab → · Contrast checker → · Palette generator →

#42742E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva