#427E1E#427E1E

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

Color values

HEX#427E1E
RGBrgb(66, 126, 30)
HSLhsl(98, 62%, 31%)
HSVhsv(98, 76%, 49%)
CMYKcmyk(47.6%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.20, -36.83, 43.46)
CIE-LCHlch(47.20, 56.97, 130.28°)
OKLaboklab(53.25% -0.1024 0.0977)
OKLCHoklch(53.25% 0.142 136.4)
XYZxyz(9.9417, 16.1731, 3.8259)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E1E #5A1E7E
analogous
#727E1E #427E1E #1E7E2A
triadic
#427E1E #1E427E #7E1E42
tetradic
#427E1E #1E727E #5A1E7E #7E2A1E
square
#427E1E #1E727E #5A1E7E #7E2A1E
split-complementary
#427E1E #2A1E7E #7E1E72
monochromatic
#0E1B06 #284D12 #427E1E #5CAF2A #79D244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427E1E#FFFFFF#000000##FFFFFF
##427E1E1.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)
#83730B
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#3F796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e1e;
/* rgb */ color: rgb(66, 126, 30);
/* oklch */ color: oklch(53.3% 0.142 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca461',
    500: '#427e1e',
    950: '#000000',
  },
}
SCSS
$custom: #427e1e;
$custom-light: #7ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#427e1e",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 97.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.14153,
    "h": 136.4
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#427E1E
secondary
#8947B1
accent
#43E5A8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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