#427A2B#427A2B

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

Color values

HEX#427A2B
RGBrgb(66, 122, 43)
HSLhsl(103, 48%, 32%)
HSVhsv(103, 65%, 48%)
CMYKcmyk(45.9%, 0%, 64.8%, 52.2%)
CIE-LABlab(45.98, -33.95, 36.59)
CIE-LCHlch(45.98, 49.92, 132.85°)
OKLaboklab(52.28% -0.0936 0.085)
OKLCHoklch(52.28% 0.126 137.8)
XYZxyz(9.6420, 15.2511, 4.7207)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A2B #632B7A
analogous
#697A2B #427A2B #2B7A3C
triadic
#427A2B #2B427A #7A2B42
tetradic
#427A2B #2B697A #632B7A #7A3C2B
square
#427A2B #2B697A #632B7A #7A3C2B
split-complementary
#427A2B #3C2B7A #7A2B69
monochromatic
#111F0B #2A4D1B #427A2B #5AA73B #79C55A

Accessibility & contrast

On white

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

On black

4.05
#427A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##427A2B#FFFFFF#000000##FFFFFF
##427A2B1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#3F7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a2b;
/* rgb */ color: rgb(66, 122, 43);
/* oklch */ color: oklch(52.3% 0.126 137.8);
Tailwind
colors: {
  custom: {
    50: '#7ba168',
    500: '#427a2b',
    950: '#000000',
  },
}
SCSS
$custom: #427a2b;
$custom-light: #7ba168;
$custom-dark: #000000;
JSON
{
  "hex": "#427a2b",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 102.532,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.12647,
    "h": 137.8
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#427A2B
secondary
#9256AB
accent
#50D7B0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #427A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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