#427B2E#427B2E

#427B2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.6% C 0.125 H 138.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#427B2E
RGBrgb(66, 123, 46)
HSLhsl(104, 46%, 33%)
HSVhsv(104, 63%, 48%)
CMYKcmyk(46.3%, 0%, 62.6%, 51.8%)
CIE-LABlab(46.34, -34.07, 35.56)
CIE-LCHlch(46.34, 49.25, 133.77°)
OKLaboklab(52.59% -0.0937 0.0831)
OKLCHoklch(52.59% 0.125 138.4)
XYZxyz(9.8225, 15.5208, 5.0625)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B2E #672E7B
analogous
#687B2E #427B2E #2E7B41
triadic
#427B2E #2E427B #7B2E42
tetradic
#427B2E #2E687B #672E7B #7B412E
square
#427B2E #2E687B #672E7B #7B412E
split-complementary
#427B2E #412E7B #7B2E68
monochromatic
#12220D #2A4E1D #427B2E #5AA83F #7AC360

Accessibility & contrast

On white

5.12
#427B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#427B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427B2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427B2E#FFFFFF#000000##FFFFFF
##427B2E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427b2e;
/* rgb */ color: rgb(66, 123, 46);
/* oklch */ color: oklch(52.6% 0.125 138.4);
Tailwind
colors: {
  custom: {
    50: '#7ba26a',
    500: '#427b2e',
    950: '#000000',
  },
}
SCSS
$custom: #427b2e;
$custom-light: #7ba26a;
$custom-dark: #000000;
JSON
{
  "hex": "#427b2e",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 104.416,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.1253,
    "h": 138.4
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#427B2E
secondary
#955BAA
accent
#53D5B3
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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