#427A19#427A19

#427A19 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.139 H 135.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#427A19
RGBrgb(66, 122, 25)
HSLhsl(95, 66%, 29%)
HSVhsv(95, 80%, 48%)
CMYKcmyk(45.9%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.83, -35.46, 43.95)
CIE-LCHlch(45.83, 56.47, 128.90°)
OKLaboklab(52.12% -0.0991 0.0979)
OKLCHoklch(52.12% 0.139 135.3)
XYZxyz(9.3815, 15.1469, 3.3488)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427A19 #51197A
analogous
#737A19 #427A19 #197A21
triadic
#427A19 #19427A #7A1942
tetradic
#427A19 #19737A #51197A #7A2119
square
#427A19 #19737A #51197A #7A2119
split-complementary
#427A19 #21197A #7A1973
monochromatic
#0E1905 #27470F #427A19 #5DAD23 #7AD637

Accessibility & contrast

On white

5.21
#427A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#427A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427A19
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427A19#FFFFFF#000000##FFFFFF
##427A191.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#407568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427a19;
/* rgb */ color: rgb(66, 122, 25);
/* oklch */ color: oklch(52.1% 0.139 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ca15e',
    500: '#427a19',
    950: '#000000',
  },
}
SCSS
$custom: #427a19;
$custom-light: #7ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#427a19",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 94.639,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.1393,
    "h": 135.3
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#427A19
secondary
#8040AF
accent
#3FE9A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #427A19

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

Preview Lab → · Contrast checker → · Palette generator →

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