#478115#478115

#478115 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.148 H 134.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#478115
RGBrgb(71, 129, 21)
HSLhsl(92, 72%, 29%)
HSVhsv(92, 84%, 51%)
CMYKcmyk(45%, 0%, 83.7%, 49.4%)
CIE-LABlab(48.38, -36.94, 47.70)
CIE-LCHlch(48.38, 60.33, 127.75°)
OKLaboklab(54.27% -0.1037 0.1051)
OKLCHoklch(54.27% 0.148 134.6)
XYZxyz(10.5839, 17.0936, 3.4510)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478115 #4F1581
analogous
#7D8115 #478115 #158119
triadic
#478115 #154781 #811547
tetradic
#478115 #157D81 #4F1581 #811915
square
#478115 #157D81 #4F1581 #811915
split-complementary
#478115 #191581 #81157D
monochromatic
#0E1A04 #2A4C0C #478115 #64B61E #82DE33

Accessibility & contrast

On white

4.75
#478115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#478115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478115
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478115#FFFFFF#000000##FFFFFF
##4781151.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#467C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478115;
/* rgb */ color: rgb(71, 129, 21);
/* oklch */ color: oklch(54.3% 0.148 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a65d',
    500: '#478115',
    950: '#000000',
  },
}
SCSS
$custom: #478115;
$custom-light: #80a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#478115",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 92.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.14759,
    "h": 134.6
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#478115
secondary
#7D3CB6
accent
#39EF9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478115

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

Preview Lab → · Contrast checker → · Palette generator →

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