#428E12#428E12

#428E12 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.167 H 137.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#428E12
RGBrgb(66, 142, 18)
HSLhsl(97, 78%, 31%)
HSVhsv(97, 87%, 56%)
CMYKcmyk(53.5%, 0%, 87.3%, 44.3%)
CIE-LABlab(52.45, -44.01, 52.07)
CIE-LCHlch(52.45, 68.18, 130.21°)
OKLaboklab(57.56% -0.1224 0.1139)
OKLCHoklch(57.56% 0.167 137.1)
XYZxyz(12.0286, 20.5470, 3.9043)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428E12 #5E128E
analogous
#808E12 #428E12 #128E20
triadic
#428E12 #12428E #8E1242
tetradic
#428E12 #12808E #5E128E #8E2012
square
#428E12 #12808E #5E128E #8E2012
split-complementary
#428E12 #20128E #8E1280
monochromatic
#102104 #29580B #428E12 #5BC419 #79E535

Accessibility & contrast

On white

4.11
#428E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#428E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428E12
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428E12#FFFFFF#000000##000000
##428E121.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#3D8978
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #428e12;
/* rgb */ color: rgb(66, 142, 18);
/* oklch */ color: oklch(57.6% 0.167 137.1);
Tailwind
colors: {
  custom: {
    50: '#7fb05e',
    500: '#428e12',
    950: '#000000',
  },
}
SCSS
$custom: #428e12;
$custom-light: #7fb05e;
$custom-dark: #000000;
JSON
{
  "hex": "#428e12",
  "rgb": {
    "r": 66,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 96.774,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.16722,
    "h": 137.1
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#428E12
secondary
#8D3AC2
accent
#34F4AA
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428E12

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

Preview Lab → · Contrast checker → · Palette generator →

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