#42712E#42712E

#42712E is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.9% C 0.111 H 137.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#42712E
RGBrgb(66, 113, 46)
HSLhsl(102, 42%, 31%)
HSVhsv(102, 59%, 44%)
CMYKcmyk(41.6%, 0%, 59.3%, 55.7%)
CIE-LABlab(43.01, -29.50, 31.74)
CIE-LCHlch(43.01, 43.33, 132.91°)
OKLaboklab(49.87% -0.0813 0.0749)
OKLCHoklch(49.87% 0.111 137.3)
XYZxyz(8.6448, 13.1653, 4.6699)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42712E #5D2E71
analogous
#63712E #42712E #2E713B
triadic
#42712E #2E4271 #712E42
tetradic
#42712E #2E6371 #5D2E71 #713B2E
square
#42712E #2E6371 #5D2E71 #713B2E
split-complementary
#42712E #3B2E71 #712E63
monochromatic
#0F1A0B #29461C #42712E #5B9C40 #79BD5D

Accessibility & contrast

On white

5.78
#42712E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#42712E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42712E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42712E#FFFFFF#000000##FFFFFF
##42712E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756827
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#406D62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #42712e;
/* rgb */ color: rgb(66, 113, 46);
/* oklch */ color: oklch(49.9% 0.111 137.3);
Tailwind
colors: {
  custom: {
    50: '#7a9a69',
    500: '#42712e',
    950: '#000000',
  },
}
SCSS
$custom: #42712e;
$custom-light: #7a9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#42712e",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 102.09,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.11053,
    "h": 137.3
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#42712E
secondary
#8C58A2
accent
#56D2AD
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #42712E

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

Preview Lab → · Contrast checker → · Palette generator →

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