#42812E#42812E

#42812E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.134 H 138.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#42812E
RGBrgb(66, 129, 46)
HSLhsl(106, 47%, 34%)
HSVhsv(106, 64%, 51%)
CMYKcmyk(48.8%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.33, -36.69, 37.81)
CIE-LCHlch(48.33, 52.68, 134.14°)
OKLaboklab(54.22% -0.1009 0.0879)
OKLCHoklch(54.22% 0.134 138.9)
XYZxyz(10.5898, 17.0553, 5.3182)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42812E #6D2E81
analogous
#6C812E #42812E #2E8144
triadic
#42812E #2E4281 #812E42
tetradic
#42812E #2E6C81 #6D2E81 #81442E
square
#42812E #2E6C81 #6D2E81 #81442E
split-complementary
#42812E #442E81 #812E6C
monochromatic
#14270E #2B541E #42812E #59AE3E #7BC762

Accessibility & contrast

On white

4.76
#42812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#42812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42812E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42812E#FFFFFF#000000##FFFFFF
##42812E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#3D7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42812e;
/* rgb */ color: rgb(66, 129, 46);
/* oklch */ color: oklch(54.2% 0.134 138.9);
Tailwind
colors: {
  custom: {
    50: '#7ca66a',
    500: '#42812e',
    950: '#000000',
  },
}
SCSS
$custom: #42812e;
$custom-light: #7ca66a;
$custom-dark: #000000;
JSON
{
  "hex": "#42812e",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 105.542,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.13382,
    "h": 138.9
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#42812E
secondary
#9A5DAE
accent
#51D7B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #42812E

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

Preview Lab → · Contrast checker → · Palette generator →

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