#427B2F#427B2F

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

Color values

HEX#427B2F
RGBrgb(66, 123, 47)
HSLhsl(105, 45%, 33%)
HSVhsv(105, 62%, 48%)
CMYKcmyk(46.3%, 0%, 61.8%, 51.8%)
CIE-LABlab(46.35, -33.95, 35.09)
CIE-LCHlch(46.35, 48.83, 134.06°)
OKLaboklab(52.6% -0.0934 0.0822)
OKLCHoklch(52.6% 0.124 138.6)
XYZxyz(9.8425, 15.5288, 5.1675)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B2F #682F7B
analogous
#687B2F #427B2F #2F7B42
triadic
#427B2F #2F427B #7B2F42
tetradic
#427B2F #2F687B #682F7B #7B422F
square
#427B2F #2F687B #682F7B #7B422F
split-complementary
#427B2F #422F7B #7B2F68
monochromatic
#12220D #2A4F1E #427B2F #5AA740 #7AC362

Accessibility & contrast

On white

5.11
#427B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#427B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427B2F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427B2F#FFFFFF#000000##FFFFFF
##427B2F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#3E776B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427b2f;
/* rgb */ color: rgb(66, 123, 47);
/* oklch */ color: oklch(52.6% 0.124 138.6);
Tailwind
colors: {
  custom: {
    50: '#7ba26a',
    500: '#427b2f',
    950: '#000000',
  },
}
SCSS
$custom: #427b2f;
$custom-light: #7ba26a;
$custom-dark: #000000;
JSON
{
  "hex": "#427b2f",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 105,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.12441,
    "h": 138.6
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#427B2F
secondary
#965CAA
accent
#53D4B4
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #427B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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