#427D1C#427D1C

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

Color values

HEX#427D1C
RGBrgb(66, 125, 28)
HSLhsl(96, 63%, 30%)
HSVhsv(96, 78%, 49%)
CMYKcmyk(47.2%, 0%, 77.6%, 51%)
CIE-LABlab(46.85, -36.55, 43.86)
CIE-LCHlch(46.85, 57.09, 129.80°)
OKLaboklab(52.97% -0.1018 0.0982)
OKLCHoklch(52.97% 0.141 136)
XYZxyz(9.7897, 15.9087, 3.6532)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D1C #571C7D
analogous
#727D1C #427D1C #1C7D27
triadic
#427D1C #1C427D #7D1C42
tetradic
#427D1C #1C727D #571C7D #7D271C
square
#427D1C #1C727D #571C7D #7D271C
split-complementary
#427D1C #271C7D #7D1C72
monochromatic
#0D1906 #284B11 #427D1C #5CAF27 #7AD43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427D1C#FFFFFF#000000##FFFFFF
##427D1C1.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)
#827207
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d1c;
/* rgb */ color: rgb(66, 125, 28);
/* oklch */ color: oklch(53.0% 0.141 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ca360',
    500: '#427d1c',
    950: '#000000',
  },
}
SCSS
$custom: #427d1c;
$custom-light: #7ca360;
$custom-dark: #000000;
JSON
{
  "hex": "#427d1c",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 96.495,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.14145,
    "h": 136
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#427D1C
secondary
#8644B1
accent
#41E6A6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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