#427F2C#427F2C

#427F2C is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.7% C 0.133 H 138.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#427F2C
RGBrgb(66, 127, 44)
HSLhsl(104, 49%, 34%)
HSVhsv(104, 65%, 50%)
CMYKcmyk(48%, 0%, 65.4%, 50.2%)
CIE-LABlab(47.65, -36.04, 37.98)
CIE-LCHlch(47.65, 52.36, 133.49°)
OKLaboklab(53.66% -0.0992 0.0881)
OKLCHoklch(53.66% 0.133 138.4)
XYZxyz(10.2904, 16.5182, 5.0285)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F2C #692C7F
analogous
#6B7F2C #427F2C #2C7F3F
triadic
#427F2C #2C427F #7F2C42
tetradic
#427F2C #2C6B7F #692C7F #7F3F2C
square
#427F2C #2C6B7F #692C7F #7F3F2C
split-complementary
#427F2C #3F2C7F #7F2C6B
monochromatic
#13240D #2A521C #427F2C #5AAC3C #7AC75E

Accessibility & contrast

On white

4.88
#427F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#427F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F2C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F2C#FFFFFF#000000##FFFFFF
##427F2C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#3E7B6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f2c;
/* rgb */ color: rgb(66, 127, 44);
/* oklch */ color: oklch(53.7% 0.133 138.4);
Tailwind
colors: {
  custom: {
    50: '#7ca569',
    500: '#427f2c',
    950: '#000000',
  },
}
SCSS
$custom: #427f2c;
$custom-light: #7ca569;
$custom-dark: #000000;
JSON
{
  "hex": "#427f2c",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 104.096,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.13268,
    "h": 138.4
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#427F2C
secondary
#9759AD
accent
#50D8B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #427F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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