#427C1A#427C1A

#427C1A is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.141 H 135.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#427C1A
RGBrgb(66, 124, 26)
HSLhsl(96, 65%, 29%)
HSVhsv(96, 79%, 49%)
CMYKcmyk(46.8%, 0%, 79%, 51.4%)
CIE-LABlab(46.51, -36.25, 44.25)
CIE-LCHlch(46.51, 57.20, 129.33°)
OKLaboklab(52.68% -0.1011 0.0987)
OKLCHoklch(52.68% 0.141 135.7)
XYZxyz(9.6406, 15.6475, 3.4894)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427C1A #541A7C
analogous
#737C1A #427C1A #1A7C23
triadic
#427C1A #1A427C #7C1A42
tetradic
#427C1A #1A737C #541A7C #7C231A
square
#427C1A #1A737C #541A7C #7C231A
split-complementary
#427C1A #231A7C #7C1A73
monochromatic
#0D1905 #27490F #427C1A #5DAF25 #7AD63B

Accessibility & contrast

On white

5.09
#427C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#427C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427C1A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427C1A#FFFFFF#000000##FFFFFF
##427C1A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#40776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427c1a;
/* rgb */ color: rgb(66, 124, 26);
/* oklch */ color: oklch(52.7% 0.141 135.7);
Tailwind
colors: {
  custom: {
    50: '#7ca25f',
    500: '#427c1a',
    950: '#000000',
  },
}
SCSS
$custom: #427c1a;
$custom-light: #7ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#427c1a",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 95.51,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.14133,
    "h": 135.7
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#427C1A
secondary
#8342B0
accent
#40E8A3
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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