#427A2E#427A2E

#427A2E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.3% C 0.124 H 138.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#427A2E
RGBrgb(66, 122, 46)
HSLhsl(104, 45%, 33%)
HSVhsv(104, 62%, 48%)
CMYKcmyk(45.9%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.01, -33.62, 35.19)
CIE-LCHlch(46.01, 48.67, 133.70°)
OKLaboklab(52.32% -0.0925 0.0823)
OKLCHoklch(52.32% 0.124 138.3)
XYZxyz(9.6991, 15.2740, 5.0213)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A2E #662E7A
analogous
#687A2E #427A2E #2E7A40
triadic
#427A2E #2E427A #7A2E42
tetradic
#427A2E #2E687A #662E7A #7A402E
square
#427A2E #2E687A #662E7A #7A402E
split-complementary
#427A2E #402E7A #7A2E68
monochromatic
#12210C #2A4E1D #427A2E #5AA63F #7AC360

Accessibility & contrast

On white

5.18
#427A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#427A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A2E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A2E#FFFFFF#000000##FFFFFF
##427A2E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#3E766A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a2e;
/* rgb */ color: rgb(66, 122, 46);
/* oklch */ color: oklch(52.3% 0.124 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ba16a',
    500: '#427a2e',
    950: '#000000',
  },
}
SCSS
$custom: #427a2e;
$custom-light: #7ba16a;
$custom-dark: #000000;
JSON
{
  "hex": "#427a2e",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 104.211,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.12386,
    "h": 138.3
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#427A2E
secondary
#955AAA
accent
#53D5B3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #427A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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