#478914#478914

#478914 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.158 H 135.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#478914
RGBrgb(71, 137, 20)
HSLhsl(94, 75%, 31%)
HSVhsv(94, 85%, 54%)
CMYKcmyk(48.2%, 0%, 85.4%, 46.3%)
CIE-LABlab(51.01, -40.34, 50.36)
CIE-LCHlch(51.01, 64.53, 128.69°)
OKLaboklab(56.43% -0.1128 0.1105)
OKLCHoklch(56.43% 0.158 135.6)
XYZxyz(11.6702, 19.2807, 3.7683)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478914 #561489
analogous
#818914 #478914 #14891B
triadic
#478914 #144789 #891447
tetradic
#478914 #148189 #561489 #891B14
square
#478914 #148189 #561489 #891B14
split-complementary
#478914 #1B1489 #891481
monochromatic
#101E04 #2B540C #478914 #63BE1C #81E236

Accessibility & contrast

On white

4.32
#478914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#478914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478914
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478914#FFFFFF#000000##000000
##4789141.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#458474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #478914;
/* rgb */ color: rgb(71, 137, 20);
/* oklch */ color: oklch(56.4% 0.158 135.6);
Tailwind
colors: {
  custom: {
    50: '#81ac5e',
    500: '#478914',
    950: '#000000',
  },
}
SCSS
$custom: #478914;
$custom-light: #81ac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#478914",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 93.846,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.15793,
    "h": 135.6
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#478914
secondary
#853CBD
accent
#37F1A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478914

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

Preview Lab → · Contrast checker → · Palette generator →

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