#478113#478113

#478113 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#478113
RGBrgb(71, 129, 19)
HSLhsl(92, 74%, 29%)
HSVhsv(92, 85%, 51%)
CMYKcmyk(45%, 0%, 85.3%, 49.4%)
CIE-LABlab(48.37, -37.04, 48.27)
CIE-LCHlch(48.37, 60.84, 127.50°)
OKLaboklab(54.26% -0.104 0.1059)
OKLCHoklch(54.26% 0.148 134.5)
XYZxyz(10.5661, 17.0865, 3.3572)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478113 #4D1381
analogous
#7E8113 #478113 #138116
triadic
#478113 #134781 #811347
tetradic
#478113 #137E81 #4D1381 #811613
square
#478113 #137E81 #4D1381 #811613
split-complementary
#478113 #161381 #81137E
monochromatic
#0F1B04 #2A4C0B #478113 #64B61B #82E02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478113#FFFFFF#000000##FFFFFF
##4781131.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: #478113;
/* rgb */ color: rgb(71, 129, 19);
/* oklch */ color: oklch(54.3% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a65d',
    500: '#478113',
    950: '#000000',
  },
}
SCSS
$custom: #478113;
$custom-light: #80a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#478113",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 91.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.14847,
    "h": 134.5
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#478113
secondary
#7B3AB6
accent
#37F199
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478113

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

Preview Lab → · Contrast checker → · Palette generator →

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