#427217#427217

#427217 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.9% C 0.130 H 133.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#427217
RGBrgb(66, 114, 23)
HSLhsl(92, 66%, 27%)
HSVhsv(92, 80%, 45%)
CMYKcmyk(42.1%, 0%, 79.8%, 55.3%)
CIE-LABlab(43.14, -32.05, 42.07)
CIE-LCHlch(43.14, 52.89, 127.30°)
OKLaboklab(49.91% -0.09 0.0937)
OKLCHoklch(49.91% 0.13 133.9)
XYZxyz(8.4186, 13.2543, 2.9252)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427217 #471772
analogous
#707217 #427217 #177219
triadic
#427217 #174272 #721742
tetradic
#427217 #177072 #471772 #721917
square
#427217 #177072 #471772 #721917
split-complementary
#427217 #191772 #721770
monochromatic
#0F1905 #253F0D #427217 #5FA521 #7DD52E

Accessibility & contrast

On white

5.75
#427217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#427217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427217
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427217#FFFFFF#000000##FFFFFF
##4272171.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#426D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427217;
/* rgb */ color: rgb(66, 114, 23);
/* oklch */ color: oklch(49.9% 0.130 133.9);
Tailwind
colors: {
  custom: {
    50: '#7b9b5c',
    500: '#427217',
    950: '#000000',
  },
}
SCSS
$custom: #427217;
$custom-light: #7b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427217",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 91.648,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.12992,
    "h": 133.9
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#427217
secondary
#753DA8
accent
#3EE999
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427217

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

Preview Lab → · Contrast checker → · Palette generator →

#427217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva