#42772B#42772B

#42772B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.5% C 0.122 H 137.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#42772B
RGBrgb(66, 119, 43)
HSLhsl(102, 47%, 32%)
HSVhsv(102, 64%, 47%)
CMYKcmyk(44.5%, 0%, 63.9%, 53.3%)
CIE-LABlab(44.98, -32.60, 35.48)
CIE-LCHlch(44.98, 48.18, 132.58°)
OKLaboklab(51.47% -0.09 0.0826)
OKLCHoklch(51.47% 0.122 137.4)
XYZxyz(9.2794, 14.5258, 4.5998)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42772B #602B77
analogous
#68772B #42772B #2B773A
triadic
#42772B #2B4277 #772B42
tetradic
#42772B #2B6877 #602B77 #773A2B
square
#42772B #2B6877 #602B77 #773A2B
split-complementary
#42772B #3A2B77 #772B68
monochromatic
#101D0B #294A1B #42772B #5BA43B #79C359

Accessibility & contrast

On white

5.38
#42772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#42772B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42772B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42772B#FFFFFF#000000##FFFFFF
##42772B1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D22
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#3F7367
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #42772b;
/* rgb */ color: rgb(66, 119, 43);
/* oklch */ color: oklch(51.5% 0.122 137.4);
Tailwind
colors: {
  custom: {
    50: '#7b9f68',
    500: '#42772b',
    950: '#000000',
  },
}
SCSS
$custom: #42772b;
$custom-light: #7b9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#42772b",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 101.842,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.12216,
    "h": 137.4
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#42772B
secondary
#8F55A9
accent
#51D7AE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #42772B

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

Preview Lab → · Contrast checker → · Palette generator →

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