#427915#427915

#427915 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.140 H 134.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#427915
RGBrgb(66, 121, 21)
HSLhsl(93, 70%, 28%)
HSVhsv(93, 83%, 47%)
CMYKcmyk(45.5%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.48, -35.26, 44.95)
CIE-LCHlch(45.48, 57.13, 128.11°)
OKLaboklab(51.82% -0.0988 0.0994)
OKLCHoklch(51.82% 0.14 134.8)
XYZxyz(9.2193, 14.8866, 3.0969)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427915 #4C1579
analogous
#747915 #427915 #15791A
triadic
#427915 #154279 #791542
tetradic
#427915 #157479 #4C1579 #791A15
square
#427915 #157479 #4C1579 #791A15
split-complementary
#427915 #1A1579 #791574
monochromatic
#0E1A05 #26450C #427915 #5EAD1E #7CDB2E

Accessibility & contrast

On white

5.28
#427915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#427915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #427915
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427915#FFFFFF#000000##FFFFFF
##4279151.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#417467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #427915;
/* rgb */ color: rgb(66, 121, 21);
/* oklch */ color: oklch(51.8% 0.140 134.8);
Tailwind
colors: {
  custom: {
    50: '#7ca05c',
    500: '#427915',
    950: '#000000',
  },
}
SCSS
$custom: #427915;
$custom-light: #7ca05c;
$custom-dark: #000000;
JSON
{
  "hex": "#427915",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 93,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.14013,
    "h": 134.8
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#427915
secondary
#7B3BAF
accent
#3BED9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #427915

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

Preview Lab → · Contrast checker → · Palette generator →

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