#478325#478325

#478325 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.141 H 136.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#478325
RGBrgb(71, 131, 37)
HSLhsl(98, 56%, 33%)
HSVhsv(98, 72%, 51%)
CMYKcmyk(45.8%, 0%, 71.8%, 48.6%)
CIE-LABlab(49.14, -36.74, 42.72)
CIE-LCHlch(49.14, 56.35, 130.70°)
OKLaboklab(54.92% -0.102 0.0971)
OKLCHoklch(54.92% 0.141 136.4)
XYZxyz(11.0485, 17.7051, 4.5852)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478325 #612583
analogous
#768325 #478325 #258332
triadic
#478325 #254783 #832547
tetradic
#478325 #257683 #612583 #833225
square
#478325 #257683 #612583 #833225
split-complementary
#478325 #322583 #832576
monochromatic
#13240A #2D5318 #478325 #61B332 #80CF54

Accessibility & contrast

On white

4.62
#478325 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#478325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478325
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478325#FFFFFF#000000##FFFFFF
##4783251.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887817
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#447E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478325;
/* rgb */ color: rgb(71, 131, 37);
/* oklch */ color: oklch(54.9% 0.141 136.4);
Tailwind
colors: {
  custom: {
    50: '#80a765',
    500: '#478325',
    950: '#000000',
  },
}
SCSS
$custom: #478325;
$custom-light: #80a765;
$custom-dark: #000000;
JSON
{
  "hex": "#478325",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 98.298,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.14083,
    "h": 136.4
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#478325
secondary
#8F51B3
accent
#49DFA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #478325

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

Preview Lab → · Contrast checker → · Palette generator →

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