#427F1A#427F1A

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

Color values

HEX#427F1A
RGBrgb(66, 127, 26)
HSLhsl(96, 66%, 30%)
HSVhsv(96, 80%, 50%)
CMYKcmyk(48%, 0%, 79.5%, 50.2%)
CIE-LABlab(47.51, -37.53, 45.21)
CIE-LCHlch(47.51, 58.75, 129.70°)
OKLaboklab(53.5% -0.1046 0.1007)
OKLCHoklch(53.5% 0.145 136.1)
XYZxyz(10.0223, 16.4109, 3.6166)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F1A #571A7F
analogous
#747F1A #427F1A #1A7F25
triadic
#427F1A #1A427F #7F1A42
tetradic
#427F1A #1A747F #571A7F #7F251A
square
#427F1A #1A747F #571A7F #7F251A
split-complementary
#427F1A #251A7F #7F1A74
monochromatic
#0D1905 #284C10 #427F1A #5CB224 #7AD73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427F1A#FFFFFF#000000##FFFFFF
##427F1A1.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)
#847401
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#3F7A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f1a;
/* rgb */ color: rgb(66, 127, 26);
/* oklch */ color: oklch(53.5% 0.145 136.1);
Tailwind
colors: {
  custom: {
    50: '#7da55f',
    500: '#427f1a',
    950: '#000000',
  },
}
SCSS
$custom: #427f1a;
$custom-light: #7da55f;
$custom-dark: #000000;
JSON
{
  "hex": "#427f1a",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 96.238,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.535,
    "c": 0.14519,
    "h": 136.1
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#427F1A
secondary
#8642B3
accent
#3FE9A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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