#427118#427118

#427118 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.128 H 133.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#427118
RGBrgb(66, 113, 24)
HSLhsl(92, 65%, 27%)
HSVhsv(92, 79%, 44%)
CMYKcmyk(41.6%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.81, -31.53, 41.39)
CIE-LCHlch(42.81, 52.04, 127.30°)
OKLaboklab(49.65% -0.0886 0.0924)
OKLCHoklch(49.65% 0.128 133.8)
XYZxyz(8.3166, 13.0340, 2.9416)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427118 #471871
analogous
#6F7118 #427118 #18711A
triadic
#427118 #184271 #711842
tetradic
#427118 #186F71 #471871 #711A18
square
#427118 #186F71 #471871 #711A18
split-complementary
#427118 #1A1871 #71186F
monochromatic
#0F1905 #253F0D #427118 #5FA323 #7DD330

Accessibility & contrast

On white

5.82
#427118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#427118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427118
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427118#FFFFFF#000000##FFFFFF
##4271181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766705
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#426C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #427118;
/* rgb */ color: rgb(66, 113, 24);
/* oklch */ color: oklch(49.6% 0.128 133.8);
Tailwind
colors: {
  custom: {
    50: '#7b9a5c',
    500: '#427118',
    950: '#000000',
  },
}
SCSS
$custom: #427118;
$custom-light: #7b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#427118",
  "rgb": {
    "r": 66,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 91.685,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49646,
    "c": 0.12799,
    "h": 133.8
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#427118
secondary
#753EA6
accent
#40E899
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427118

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

Preview Lab → · Contrast checker → · Palette generator →

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