#427E12#427E12

#427E12 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.148 H 135.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#427E12
RGBrgb(66, 126, 18)
HSLhsl(93, 75%, 28%)
HSVhsv(93, 86%, 49%)
CMYKcmyk(47.6%, 0%, 85.7%, 50.6%)
CIE-LABlab(47.14, -37.54, 47.35)
CIE-LCHlch(47.14, 60.43, 128.41°)
OKLaboklab(53.18% -0.1051 0.104)
OKLCHoklch(53.18% 0.148 135.3)
XYZxyz(9.8166, 16.1230, 3.1669)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427E12 #4E127E
analogous
#787E12 #427E12 #127E18
triadic
#427E12 #12427E #7E1242
tetradic
#427E12 #12787E #4E127E #7E1812
square
#427E12 #12787E #4E127E #7E1812
split-complementary
#427E12 #18127E #7E1278
monochromatic
#0E1B04 #26480A #427E12 #5EB41A #7BE12A

Accessibility & contrast

On white

4.97
#427E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#427E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427E12
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427E12#FFFFFF#000000##FFFFFF
##427E121.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #427e12;
/* rgb */ color: rgb(66, 126, 18);
/* oklch */ color: oklch(53.2% 0.148 135.3);
Tailwind
colors: {
  custom: {
    50: '#7da45c',
    500: '#427e12',
    950: '#000000',
  },
}
SCSS
$custom: #427e12;
$custom-light: #7da45c;
$custom-dark: #000000;
JSON
{
  "hex": "#427e12",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 93.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.14783,
    "h": 135.3
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#427E12
secondary
#7D38B4
accent
#36F29E
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #427E12

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

Preview Lab → · Contrast checker → · Palette generator →

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