#427218#427218

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

Color values

HEX#427218
RGBrgb(66, 114, 24)
HSLhsl(92, 65%, 27%)
HSVhsv(92, 79%, 45%)
CMYKcmyk(42.1%, 0%, 78.9%, 55.3%)
CIE-LABlab(43.15, -31.99, 41.72)
CIE-LCHlch(43.15, 52.57, 127.48°)
OKLaboklab(49.92% -0.0898 0.0931)
OKLCHoklch(49.92% 0.129 134)
XYZxyz(8.4288, 13.2584, 2.9790)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427218 #481872
analogous
#6F7218 #427218 #18721B
triadic
#427218 #184272 #721842
tetradic
#427218 #186F72 #481872 #721B18
square
#427218 #186F72 #481872 #721B18
split-complementary
#427218 #1B1872 #72186F
monochromatic
#0F1905 #253F0D #427218 #5FA523 #7DD431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427218#FFFFFF#000000##FFFFFF
##4272181.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)
#776804
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#426D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427218;
/* rgb */ color: rgb(66, 114, 24);
/* oklch */ color: oklch(49.9% 0.129 134.0);
Tailwind
colors: {
  custom: {
    50: '#7b9b5c',
    500: '#427218',
    950: '#000000',
  },
}
SCSS
$custom: #427218;
$custom-light: #7b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427218",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 92,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49921,
    "c": 0.12933,
    "h": 134
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#427218
secondary
#763EA7
accent
#40E89A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427218

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

Preview Lab → · Contrast checker → · Palette generator →

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