#427E1C#427E1C

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

Color values

HEX#427E1C
RGBrgb(66, 126, 28)
HSLhsl(97, 64%, 30%)
HSVhsv(97, 78%, 49%)
CMYKcmyk(47.6%, 0%, 77.8%, 50.6%)
CIE-LABlab(47.19, -36.97, 44.19)
CIE-LCHlch(47.19, 57.62, 129.92°)
OKLaboklab(53.24% -0.1029 0.0989)
OKLCHoklch(53.24% 0.143 136.2)
XYZxyz(9.9170, 16.1632, 3.6956)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E1C #581C7E
analogous
#737E1C #427E1C #1C7E27
triadic
#427E1C #1C427E #7E1C42
tetradic
#427E1C #1C737E #581C7E #7E271C
square
#427E1C #1C737E #581C7E #7E271C
split-complementary
#427E1C #271C7E #7E1C73
monochromatic
#0E1A06 #284C11 #427E1C #5CB027 #7AD540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427E1C#FFFFFF#000000##FFFFFF
##427E1C1.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)
#837306
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#3F796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e1c;
/* rgb */ color: rgb(66, 126, 28);
/* oklch */ color: oklch(53.2% 0.143 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca460',
    500: '#427e1c',
    950: '#000000',
  },
}
SCSS
$custom: #427e1c;
$custom-light: #7ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#427e1c",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 96.735,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5324,
    "c": 0.14275,
    "h": 136.2
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#427E1C
secondary
#8744B2
accent
#41E7A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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