#427E2A#427E2A

#427E2A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.4% C 0.133 H 138.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#427E2A
RGBrgb(66, 126, 42)
HSLhsl(103, 50%, 33%)
HSVhsv(103, 67%, 49%)
CMYKcmyk(47.6%, 0%, 66.7%, 50.6%)
CIE-LABlab(47.30, -35.80, 38.52)
CIE-LCHlch(47.30, 52.59, 132.91°)
OKLaboklab(53.36% -0.0988 0.089)
OKLCHoklch(53.36% 0.133 138)
XYZxyz(10.1252, 16.2465, 4.7924)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E2A #662A7E
analogous
#6C7E2A #427E2A #2A7E3C
triadic
#427E2A #2A427E #7E2A42
tetradic
#427E2A #2A6C7E #662A7E #7E3C2A
square
#427E2A #2A6C7E #662A7E #7E3C2A
split-complementary
#427E2A #3C2A7E #7E2A6C
monochromatic
#12220B #2A501B #427E2A #5AAC39 #7AC85A

Accessibility & contrast

On white

4.94
#427E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#427E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E2A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E2A#FFFFFF#000000##FFFFFF
##427E2A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#3E7A6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e2a;
/* rgb */ color: rgb(66, 126, 42);
/* oklch */ color: oklch(53.4% 0.133 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ca468',
    500: '#427e2a',
    950: '#000000',
  },
}
SCSS
$custom: #427e2a;
$custom-light: #7ca468;
$custom-dark: #000000;
JSON
{
  "hex": "#427e2a",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 102.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.13293,
    "h": 138
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#427E2A
secondary
#9556AE
accent
#4EDAB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#427E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva