#427215#427215

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

Color values

HEX#427215
RGBrgb(66, 114, 21)
HSLhsl(91, 69%, 26%)
HSVhsv(91, 82%, 45%)
CMYKcmyk(42.1%, 0%, 81.6%, 55.3%)
CIE-LABlab(43.13, -32.17, 42.75)
CIE-LCHlch(43.13, 53.51, 126.96°)
OKLaboklab(49.9% -0.0905 0.0948)
OKLCHoklch(49.9% 0.131 133.7)
XYZxyz(8.3993, 13.2466, 2.8236)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427215 #451572
analogous
#717215 #427215 #157217
triadic
#427215 #154272 #721542
tetradic
#427215 #157172 #451572 #721715
square
#427215 #157172 #451572 #721715
split-complementary
#427215 #171572 #721571
monochromatic
#0F1A05 #243E0B #427215 #60A61F #7ED82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##427215#FFFFFF#000000##FFFFFF
##4272151.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)
#776800
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#426D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #427215;
/* rgb */ color: rgb(66, 114, 21);
/* oklch */ color: oklch(49.9% 0.131 133.7);
Tailwind
colors: {
  custom: {
    50: '#7b9b5b',
    500: '#427215',
    950: '#000000',
  },
}
SCSS
$custom: #427215;
$custom-light: #7b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#427215",
  "rgb": {
    "r": 66,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 90.968,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.13104,
    "h": 133.7
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#427215
secondary
#733BA8
accent
#3CEC97
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #427215

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

Preview Lab → · Contrast checker → · Palette generator →

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