#478114#478114

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

Color values

HEX#478114
RGBrgb(71, 129, 20)
HSLhsl(92, 73%, 29%)
HSVhsv(92, 84%, 51%)
CMYKcmyk(45%, 0%, 84.5%, 49.4%)
CIE-LABlab(48.37, -36.99, 47.99)
CIE-LCHlch(48.37, 60.59, 127.63°)
OKLaboklab(54.26% -0.1038 0.1055)
OKLCHoklch(54.26% 0.148 134.5)
XYZxyz(10.5748, 17.0900, 3.4032)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478114 #4E1481
analogous
#7E8114 #478114 #148118
triadic
#478114 #144781 #811447
tetradic
#478114 #147E81 #4E1481 #811814
square
#478114 #147E81 #4E1481 #811814
split-complementary
#478114 #181481 #81147E
monochromatic
#0F1A04 #2A4C0C #478114 #64B61C #82DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478114#FFFFFF#000000##FFFFFF
##4781141.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)
#7F7121
Tritanopia (blue-blind)
#467C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478114;
/* rgb */ color: rgb(71, 129, 20);
/* oklch */ color: oklch(54.3% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a65d',
    500: '#478114',
    950: '#000000',
  },
}
SCSS
$custom: #478114;
$custom-light: #80a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#478114",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 91.927,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.14804,
    "h": 134.5
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#478114
secondary
#7C3BB6
accent
#38F09A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478114

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

Preview Lab → · Contrast checker → · Palette generator →

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