#427018#427018

#427018 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.127 H 133.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#427018
RGBrgb(66, 112, 24)
HSLhsl(91, 65%, 27%)
HSVhsv(91, 79%, 44%)
CMYKcmyk(41.1%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.48, -31.08, 41.07)
CIE-LCHlch(42.48, 51.50, 127.12°)
OKLaboklab(49.37% -0.0873 0.0917)
OKLCHoklch(49.37% 0.127 133.6)
XYZxyz(8.2057, 12.8121, 2.9046)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427018 #461870
analogous
#6E7018 #427018 #18701A
triadic
#427018 #184270 #701842
tetradic
#427018 #186E70 #461870 #701A18
square
#427018 #186E70 #461870 #701A18
split-complementary
#427018 #1A1870 #70186E
monochromatic
#0F1905 #243E0D #427018 #60A223 #7DD330

Accessibility & contrast

On white

5.89
#427018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#427018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427018
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427018#FFFFFF#000000##FFFFFF
##4270181.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#426B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #427018;
/* rgb */ color: rgb(66, 112, 24);
/* oklch */ color: oklch(49.4% 0.127 133.6);
Tailwind
colors: {
  custom: {
    50: '#7b995c',
    500: '#427018',
    950: '#000000',
  },
}
SCSS
$custom: #427018;
$custom-light: #7b995c;
$custom-dark: #000000;
JSON
{
  "hex": "#427018",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 91.364,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.12665,
    "h": 133.6
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#427018
secondary
#743EA5
accent
#40E898
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427018

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

Preview Lab → · Contrast checker → · Palette generator →

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