#427315#427315

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

Color values

HEX#427315
RGBrgb(66, 115, 21)
HSLhsl(91, 69%, 27%)
HSVhsv(91, 82%, 45%)
CMYKcmyk(42.6%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.47, -32.62, 43.07)
CIE-LCHlch(43.47, 54.03, 127.14°)
OKLaboklab(50.18% -0.0917 0.0954)
OKLCHoklch(50.18% 0.132 133.9)
XYZxyz(8.5127, 13.4734, 2.8614)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427315 #461573
analogous
#717315 #427315 #157317
triadic
#427315 #154273 #731542
tetradic
#427315 #157173 #461573 #731715
square
#427315 #157173 #461573 #731715
split-complementary
#427315 #171573 #731571
monochromatic
#0F1A05 #243F0C #427315 #60A71E #7DD82A

Accessibility & contrast

On white

5.68
#427315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #427315
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427315#FFFFFF#000000##FFFFFF
##4273151.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #427315;
/* rgb */ color: rgb(66, 115, 21);
/* oklch */ color: oklch(50.2% 0.132 133.9);
Tailwind
colors: {
  custom: {
    50: '#7b9b5b',
    500: '#427315',
    950: '#000000',
  },
}
SCSS
$custom: #427315;
$custom-light: #7b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#427315",
  "rgb": {
    "r": 66,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 91.277,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.13235,
    "h": 133.9
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#427315
secondary
#743BA9
accent
#3CEC98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427315

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

Preview Lab → · Contrast checker → · Palette generator →

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