#427D2F#427D2F

#427D2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.127 H 138.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#427D2F
RGBrgb(66, 125, 47)
HSLhsl(105, 45%, 34%)
HSVhsv(105, 62%, 49%)
CMYKcmyk(47.2%, 0%, 62.4%, 51%)
CIE-LABlab(47.01, -34.84, 35.85)
CIE-LCHlch(47.01, 49.99, 134.18°)
OKLaboklab(53.15% -0.0958 0.0838)
OKLCHoklch(53.15% 0.127 138.8)
XYZxyz(10.0931, 16.0301, 5.2510)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D2F #6A2F7D
analogous
#697D2F #427D2F #2F7D43
triadic
#427D2F #2F427D #7D2F42
tetradic
#427D2F #2F697D #6A2F7D #7D432F
square
#427D2F #2F697D #6A2F7D #7D432F
split-complementary
#427D2F #432F7D #7D2F69
monochromatic
#13240E #2B511E #427D2F #59A940 #7AC462

Accessibility & contrast

On white

4.99
#427D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#427D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D2F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D2F#FFFFFF#000000##FFFFFF
##427D2F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#3E796C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d2f;
/* rgb */ color: rgb(66, 125, 47);
/* oklch */ color: oklch(53.1% 0.127 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ba36b',
    500: '#427d2f',
    950: '#000000',
  },
}
SCSS
$custom: #427d2f;
$custom-light: #7ba36b;
$custom-dark: #000000;
JSON
{
  "hex": "#427d2f",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 105.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.12729,
    "h": 138.8
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#427D2F
secondary
#985DAB
accent
#53D5B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #427D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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