#427E1A#427E1A

#427E1A is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.144 H 136.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#427E1A
RGBrgb(66, 126, 26)
HSLhsl(96, 66%, 30%)
HSVhsv(96, 79%, 49%)
CMYKcmyk(47.6%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.18, -37.11, 44.89)
CIE-LCHlch(47.18, 58.24, 129.58°)
OKLaboklab(53.23% -0.1034 0.1)
OKLCHoklch(53.23% 0.144 136)
XYZxyz(9.8938, 16.1539, 3.5738)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E1A #561A7E
analogous
#747E1A #427E1A #1A7E24
triadic
#427E1A #1A427E #7E1A42
tetradic
#427E1A #1A747E #561A7E #7E241A
square
#427E1A #1A747E #561A7E #7E241A
split-complementary
#427E1A #241A7E #7E1A74
monochromatic
#0D1905 #274B10 #427E1A #5DB124 #7AD73C

Accessibility & contrast

On white

4.96
#427E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#427E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E1A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E1A#FFFFFF#000000##FFFFFF
##427E1A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e1a;
/* rgb */ color: rgb(66, 126, 26);
/* oklch */ color: oklch(53.2% 0.144 136.0);
Tailwind
colors: {
  custom: {
    50: '#7da45f',
    500: '#427e1a',
    950: '#000000',
  },
}
SCSS
$custom: #427e1a;
$custom-light: #7da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#427e1a",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 96,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.1439,
    "h": 136
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#427E1A
secondary
#8542B2
accent
#3FE9A5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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