#427C17#427C17

#427C17 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.143 H 135.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#427C17
RGBrgb(66, 124, 23)
HSLhsl(94, 69%, 29%)
HSVhsv(94, 81%, 49%)
CMYKcmyk(46.8%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.49, -36.44, 45.25)
CIE-LCHlch(46.49, 58.10, 128.84°)
OKLaboklab(52.66% -0.1018 0.1003)
OKLCHoklch(52.66% 0.143 135.4)
XYZxyz(9.6088, 15.6348, 3.3220)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427C17 #51177C
analogous
#757C17 #427C17 #177C1F
triadic
#427C17 #17427C #7C1742
tetradic
#427C17 #17757C #51177C #7C1F17
square
#427C17 #17757C #51177C #7C1F17
split-complementary
#427C17 #1F177C #7C1775
monochromatic
#0E1A05 #27480D #427C17 #5DB021 #7AD934

Accessibility & contrast

On white

5.09
#427C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#427C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427C17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427C17#FFFFFF#000000##FFFFFF
##427C171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#407769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #427c17;
/* rgb */ color: rgb(66, 124, 23);
/* oklch */ color: oklch(52.7% 0.143 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#427c17',
    950: '#000000',
  },
}
SCSS
$custom: #427c17;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#427c17",
  "rgb": {
    "r": 66,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 94.455,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52659,
    "c": 0.14295,
    "h": 135.4
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#427C17
secondary
#803EB1
accent
#3CECA1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427C17

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

Preview Lab → · Contrast checker → · Palette generator →

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