#427F12#427F12

#427F12 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.5% C 0.149 H 135.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#427F12
RGBrgb(66, 127, 18)
HSLhsl(94, 75%, 28%)
HSVhsv(94, 86%, 50%)
CMYKcmyk(48%, 0%, 85.8%, 50.2%)
CIE-LABlab(47.47, -37.96, 47.65)
CIE-LCHlch(47.47, 60.92, 128.55°)
OKLaboklab(53.45% -0.1062 0.1046)
OKLCHoklch(53.45% 0.149 135.5)
XYZxyz(9.9451, 16.3800, 3.2098)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427F12 #4F127F
analogous
#787F12 #427F12 #127F18
triadic
#427F12 #12427F #7F1242
tetradic
#427F12 #12787F #4F127F #7F1812
square
#427F12 #12787F #4F127F #7F1812
split-complementary
#427F12 #18127F #7F1278
monochromatic
#0E1B04 #26490A #427F12 #5EB51A #7BE12B

Accessibility & contrast

On white

4.91
#427F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#427F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427F12
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427F12#FFFFFF#000000##FFFFFF
##427F121.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#407A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #427f12;
/* rgb */ color: rgb(66, 127, 18);
/* oklch */ color: oklch(53.5% 0.149 135.5);
Tailwind
colors: {
  custom: {
    50: '#7da55c',
    500: '#427f12',
    950: '#000000',
  },
}
SCSS
$custom: #427f12;
$custom-light: #7da55c;
$custom-dark: #000000;
JSON
{
  "hex": "#427f12",
  "rgb": {
    "r": 66,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 93.578,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.14908,
    "h": 135.5
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#427F12
secondary
#7E38B5
accent
#36F29F
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #427F12

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

Preview Lab → · Contrast checker → · Palette generator →

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