#427D1F#427D1F

#427D1F is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.140 H 136.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#427D1F
RGBrgb(66, 125, 31)
HSLhsl(98, 60%, 31%)
HSVhsv(98, 75%, 49%)
CMYKcmyk(47.2%, 0%, 75.2%, 51%)
CIE-LABlab(46.87, -36.33, 42.75)
CIE-LCHlch(46.87, 56.10, 130.36°)
OKLaboklab(52.99% -0.101 0.0963)
OKLCHoklch(52.99% 0.14 136.4)
XYZxyz(9.8274, 15.9238, 3.8518)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D1F #5A1F7D
analogous
#717D1F #427D1F #1F7D2B
triadic
#427D1F #1F427D #7D1F42
tetradic
#427D1F #1F717D #5A1F7D #7D2B1F
square
#427D1F #1F717D #5A1F7D #7D2B1F
split-complementary
#427D1F #2B1F7D #7D1F71
monochromatic
#0E1B07 #284C13 #427D1F #5CAE2B #79D145

Accessibility & contrast

On white

5.02
#427D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#427D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427D1F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427D1F#FFFFFF#000000##FFFFFF
##427D1F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#7A6D28
Tritanopia (blue-blind)
#3F786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d1f;
/* rgb */ color: rgb(66, 125, 31);
/* oklch */ color: oklch(53.0% 0.140 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca361',
    500: '#427d1f',
    950: '#000000',
  },
}
SCSS
$custom: #427d1f;
$custom-light: #7ca361;
$custom-dark: #000000;
JSON
{
  "hex": "#427d1f",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 97.66,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.13959,
    "h": 136.4
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#427D1F
secondary
#8948B0
accent
#44E3A8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #427D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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