#427A2F#427A2F

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

Color values

HEX#427A2F
RGBrgb(66, 122, 47)
HSLhsl(105, 44%, 33%)
HSVhsv(105, 61%, 48%)
CMYKcmyk(45.9%, 0%, 61.5%, 52.2%)
CIE-LABlab(46.02, -33.51, 34.71)
CIE-LCHlch(46.02, 48.24, 133.99°)
OKLaboklab(52.33% -0.0922 0.0814)
OKLCHoklch(52.33% 0.123 138.5)
XYZxyz(9.7191, 15.2819, 5.1264)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A2F #672F7A
analogous
#677A2F #427A2F #2F7A41
triadic
#427A2F #2F427A #7A2F42
tetradic
#427A2F #2F677A #672F7A #7A412F
square
#427A2F #2F677A #672F7A #7A412F
split-complementary
#427A2F #412F7A #7A2F67
monochromatic
#12220D #2A4E1E #427A2F #5AA640 #7AC261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427A2F#FFFFFF#000000##FFFFFF
##427A2F1.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)
#7E7027
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#3E766A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a2f;
/* rgb */ color: rgb(66, 122, 47);
/* oklch */ color: oklch(52.3% 0.123 138.5);
Tailwind
colors: {
  custom: {
    50: '#7ba16a',
    500: '#427a2f',
    950: '#000000',
  },
}
SCSS
$custom: #427a2f;
$custom-light: #7ba16a;
$custom-dark: #000000;
JSON
{
  "hex": "#427a2f",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 104.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.12296,
    "h": 138.5
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#427A2F
secondary
#955CA9
accent
#54D4B4
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A

Preview Lab

Preview with #427A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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