#427E19#427E19

#427E19 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.144 H 135.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#427E19
RGBrgb(66, 126, 25)
HSLhsl(96, 67%, 30%)
HSVhsv(96, 80%, 49%)
CMYKcmyk(47.6%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.17, -37.17, 45.23)
CIE-LCHlch(47.17, 58.54, 129.41°)
OKLaboklab(53.22% -0.1037 0.1006)
OKLCHoklch(53.22% 0.144 135.9)
XYZxyz(9.8828, 16.1495, 3.5159)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E19 #55197E
analogous
#747E19 #427E19 #197E23
triadic
#427E19 #19427E #7E1942
tetradic
#427E19 #19747E #55197E #7E2319
square
#427E19 #19747E #55197E #7E2319
split-complementary
#427E19 #23197E #7E1974
monochromatic
#0D1A05 #274B0F #427E19 #5DB123 #7AD83A

Accessibility & contrast

On white

4.96
#427E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#427E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E19
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E19#FFFFFF#000000##FFFFFF
##427E191.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#40796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #427e19;
/* rgb */ color: rgb(66, 126, 25);
/* oklch */ color: oklch(53.2% 0.144 135.9);
Tailwind
colors: {
  custom: {
    50: '#7da45f',
    500: '#427e19',
    950: '#000000',
  },
}
SCSS
$custom: #427e19;
$custom-light: #7da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#427e19",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 95.644,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.14445,
    "h": 135.9
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#427E19
secondary
#8441B2
accent
#3EEAA4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427E19

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

Preview Lab → · Contrast checker → · Palette generator →

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