#478124#478124

#478124 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.139 H 136.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#478124
RGBrgb(71, 129, 36)
HSLhsl(97, 56%, 32%)
HSVhsv(97, 72%, 51%)
CMYKcmyk(45%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.47, -35.96, 42.44)
CIE-LCHlch(48.47, 55.63, 130.27°)
OKLaboklab(54.37% -0.1 0.0964)
OKLCHoklch(54.37% 0.139 136.1)
XYZxyz(10.7669, 17.1668, 4.4149)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478124 #5E2481
analogous
#768124 #478124 #24812F
triadic
#478124 #244781 #812447
tetradic
#478124 #247681 #5E2481 #812F24
square
#478124 #247681 #5E2481 #812F24
split-complementary
#478124 #2F2481 #812476
monochromatic
#122109 #2D5117 #478124 #61B131 #80CE51

Accessibility & contrast

On white

4.74
#478124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#478124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478124
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478124#FFFFFF#000000##FFFFFF
##4781241.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#457C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478124;
/* rgb */ color: rgb(71, 129, 36);
/* oklch */ color: oklch(54.4% 0.139 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa665',
    500: '#478124',
    950: '#000000',
  },
}
SCSS
$custom: #478124;
$custom-light: #7fa665;
$custom-dark: #000000;
JSON
{
  "hex": "#478124",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 97.419,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.13884,
    "h": 136.1
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#478124
secondary
#8D4EB2
accent
#48E0A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #478124

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

Preview Lab → · Contrast checker → · Palette generator →

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