#427312#427312

#427312 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.134 H 133.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#427312
RGBrgb(66, 115, 18)
HSLhsl(90, 73%, 26%)
HSVhsv(90, 84%, 45%)
CMYKcmyk(42.6%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.45, -32.78, 44.01)
CIE-LCHlch(43.45, 54.88, 126.68°)
OKLaboklab(50.16% -0.0923 0.0969)
OKLCHoklch(50.16% 0.134 133.6)
XYZxyz(8.4865, 13.4630, 2.7236)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427312 #431273
analogous
#727312 #427312 #127312
triadic
#427312 #124273 #731242
tetradic
#427312 #127273 #431273 #731212
square
#427312 #127273 #431273 #731212
split-complementary
#427312 #121273 #731272
monochromatic
#0F1A04 #243E0A #427312 #60A81A #7FDD23

Accessibility & contrast

On white

5.69
#427312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#427312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427312
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427312#FFFFFF#000000##FFFFFF
##4273121.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#426E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #427312;
/* rgb */ color: rgb(66, 115, 18);
/* oklch */ color: oklch(50.2% 0.134 133.6);
Tailwind
colors: {
  custom: {
    50: '#7b9b5a',
    500: '#427312',
    950: '#000000',
  },
}
SCSS
$custom: #427312;
$custom-light: #7b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#427312",
  "rgb": {
    "r": 66,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 90.309,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.13387,
    "h": 133.6
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#427312
secondary
#7137AA
accent
#38F095
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427312

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

Preview Lab → · Contrast checker → · Palette generator →

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