#427B17#427B17

#427B17 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.4% C 0.142 H 135.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#427B17
RGBrgb(66, 123, 23)
HSLhsl(94, 68%, 29%)
HSVhsv(94, 81%, 48%)
CMYKcmyk(46.3%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.16, -36.01, 44.94)
CIE-LCHlch(46.16, 57.58, 128.71°)
OKLaboklab(52.39% -0.1007 0.0997)
OKLCHoklch(52.39% 0.142 135.3)
XYZxyz(9.4842, 15.3855, 3.2804)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427B17 #50177B
analogous
#747B17 #427B17 #177B1E
triadic
#427B17 #17427B #7B1742
tetradic
#427B17 #17747B #50177B #7B1E17
square
#427B17 #17747B #50177B #7B1E17
split-complementary
#427B17 #1E177B #7B1774
monochromatic
#0E1A05 #26470D #427B17 #5EAF21 #7BD933

Accessibility & contrast

On white

5.15
#427B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#427B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427B17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427B17#FFFFFF#000000##FFFFFF
##427B171.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#407668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #427b17;
/* rgb */ color: rgb(66, 123, 23);
/* oklch */ color: oklch(52.4% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ca25d',
    500: '#427b17',
    950: '#000000',
  },
}
SCSS
$custom: #427b17;
$custom-light: #7ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#427b17",
  "rgb": {
    "r": 66,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 94.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.14167,
    "h": 135.3
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#427B17
secondary
#7F3EB0
accent
#3CEBA0
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #427B17

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

Preview Lab → · Contrast checker → · Palette generator →

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