#42812A#42812A

#42812A is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.2% C 0.137 H 138.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#42812A
RGBrgb(66, 129, 42)
HSLhsl(103, 51%, 34%)
HSVhsv(103, 67%, 51%)
CMYKcmyk(48.8%, 0%, 67.4%, 49.4%)
CIE-LABlab(48.29, -37.10, 39.60)
CIE-LCHlch(48.29, 54.26, 133.13°)
OKLaboklab(54.18% -0.1023 0.0913)
OKLCHoklch(54.18% 0.137 138.3)
XYZxyz(10.5146, 17.0252, 4.9222)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42812A #692A81
analogous
#6D812A #42812A #2A813D
triadic
#42812A #2A4281 #812A42
tetradic
#42812A #2A6D81 #692A81 #813D2A
square
#42812A #2A6D81 #692A81 #813D2A
split-complementary
#42812A #3D2A81 #812A6D
monochromatic
#13250C #2A531B #42812A #5AAF39 #7ACA5C

Accessibility & contrast

On white

4.77
#42812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42812A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42812A#FFFFFF#000000##FFFFFF
##42812A1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#3D7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42812a;
/* rgb */ color: rgb(66, 129, 42);
/* oklch */ color: oklch(54.2% 0.137 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ca668',
    500: '#42812a',
    950: '#000000',
  },
}
SCSS
$custom: #42812a;
$custom-light: #7ca668;
$custom-dark: #000000;
JSON
{
  "hex": "#42812a",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 103.448,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.13706,
    "h": 138.3
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#42812A
secondary
#9757AF
accent
#4DDAB3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #42812A

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

Preview Lab → · Contrast checker → · Palette generator →

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