#427F1C#427F1C

#427F1C is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.144 H 136.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#427F1C
RGBrgb(66, 127, 28)
HSLhsl(97, 64%, 30%)
HSVhsv(97, 78%, 50%)
CMYKcmyk(48%, 0%, 78%, 50.2%)
CIE-LABlab(47.52, -37.40, 44.51)
CIE-LCHlch(47.52, 58.14, 130.03°)
OKLaboklab(53.51% -0.1041 0.0996)
OKLCHoklch(53.51% 0.144 136.3)
XYZxyz(10.0455, 16.4202, 3.7385)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F1C #591C7F
analogous
#737F1C #427F1C #1C7F28
triadic
#427F1C #1C427F #7F1C42
tetradic
#427F1C #1C737F #591C7F #7F281C
square
#427F1C #1C737F #591C7F #7F281C
split-complementary
#427F1C #281C7F #7F1C73
monochromatic
#0E1B06 #284D11 #427F1C #5CB127 #79D540

Accessibility & contrast

On white

4.90
#427F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#427F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F1C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F1C#FFFFFF#000000##FFFFFF
##427F1C1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#3F7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f1c;
/* rgb */ color: rgb(66, 127, 28);
/* oklch */ color: oklch(53.5% 0.144 136.3);
Tailwind
colors: {
  custom: {
    50: '#7da560',
    500: '#427f1c',
    950: '#000000',
  },
}
SCSS
$custom: #427f1c;
$custom-light: #7da560;
$custom-dark: #000000;
JSON
{
  "hex": "#427f1c",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 96.97,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.14404,
    "h": 136.3
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#427F1C
secondary
#8844B3
accent
#41E7A7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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