#427D1B#427D1B

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

Color values

HEX#427D1B
RGBrgb(66, 125, 27)
HSLhsl(96, 64%, 30%)
HSVhsv(96, 78%, 49%)
CMYKcmyk(47.2%, 0%, 78.4%, 51%)
CIE-LABlab(46.85, -36.61, 44.22)
CIE-LCHlch(46.85, 57.41, 129.63°)
OKLaboklab(52.96% -0.102 0.0988)
OKLCHoklch(52.96% 0.142 135.9)
XYZxyz(9.7780, 15.9040, 3.5912)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427D1B #561B7D
analogous
#737D1B #427D1B #1B7D25
triadic
#427D1B #1B427D #7D1B42
tetradic
#427D1B #1B737D #561B7D #7D251B
square
#427D1B #1B737D #561B7D #7D251B
split-complementary
#427D1B #251B7D #7D1B73
monochromatic
#0D1905 #274B10 #427D1B #5DAF26 #7AD53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427D1B#FFFFFF#000000##FFFFFF
##427D1B1.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)
#827205
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#40786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #427d1b;
/* rgb */ color: rgb(66, 125, 27);
/* oklch */ color: oklch(53.0% 0.142 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ca35f',
    500: '#427d1b',
    950: '#000000',
  },
}
SCSS
$custom: #427d1b;
$custom-light: #7ca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#427d1b",
  "rgb": {
    "r": 66,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 96.122,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.14204,
    "h": 135.9
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#427D1B
secondary
#8543B1
accent
#40E7A5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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