#427A1C#427A1C

#427A1C is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.1% C 0.138 H 135.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A1C
RGBrgb(66, 122, 28)
HSLhsl(96, 63%, 29%)
HSVhsv(96, 77%, 48%)
CMYKcmyk(45.9%, 0%, 77%, 52.2%)
CIE-LABlab(45.85, -35.26, 42.88)
CIE-LCHlch(45.85, 55.51, 129.43°)
OKLaboklab(52.14% -0.0983 0.0962)
OKLCHoklch(52.14% 0.138 135.6)
XYZxyz(9.4157, 15.1606, 3.5285)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A1C #541C7A
analogous
#717A1C #427A1C #1C7A25
triadic
#427A1C #1C427A #7A1C42
tetradic
#427A1C #1C717A #541C7A #7A251C
square
#427A1C #1C717A #541C7A #7A251C
split-complementary
#427A1C #251C7A #7A1C71
monochromatic
#0D1906 #274811 #427A1C #5DAC27 #7AD33E

Accessibility & contrast

On white

5.21
#427A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#427A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A1C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A1C#FFFFFF#000000##FFFFFF
##427A1C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F09
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a1c;
/* rgb */ color: rgb(66, 122, 28);
/* oklch */ color: oklch(52.1% 0.138 135.6);
Tailwind
colors: {
  custom: {
    50: '#7ca15f',
    500: '#427a1c',
    950: '#000000',
  },
}
SCSS
$custom: #427a1c;
$custom-light: #7ca15f;
$custom-dark: #000000;
JSON
{
  "hex": "#427a1c",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 95.745,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.13752,
    "h": 135.6
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#427A1C
secondary
#8344AE
accent
#42E6A4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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