#427D1A#427D1A

#427D1A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.143 H 135.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#427D1A
RGBrgb(66, 125, 26)
HSLhsl(96, 66%, 30%)
HSVhsv(96, 79%, 49%)
CMYKcmyk(47.2%, 0%, 79.2%, 51%)
CIE-LABlab(46.84, -36.68, 44.57)
CIE-LCHlch(46.84, 57.72, 129.46°)
OKLaboklab(52.95% -0.1023 0.0994)
OKLCHoklch(52.95% 0.143 135.8)
XYZxyz(9.7666, 15.8995, 3.5314)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D1A #551A7D
analogous
#737D1A #427D1A #1A7D24
triadic
#427D1A #1A427D #7D1A42
tetradic
#427D1A #1A737D #551A7D #7D241A
square
#427D1A #1A737D #551A7D #7D241A
split-complementary
#427D1A #241A7D #7D1A73
monochromatic
#0D1905 #274A0F #427D1A #5DB025 #7AD63B

Accessibility & contrast

On white

5.02
#427D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#427D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D1A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D1A#FFFFFF#000000##FFFFFF
##427D1A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827203
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d1a;
/* rgb */ color: rgb(66, 125, 26);
/* oklch */ color: oklch(53.0% 0.143 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ca35f',
    500: '#427d1a',
    950: '#000000',
  },
}
SCSS
$custom: #427d1a;
$custom-light: #7ca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#427d1a",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 95.758,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.14262,
    "h": 135.8
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#427D1A
secondary
#8442B1
accent
#3FE9A4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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