#478322#478322

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

Color values

HEX#478322
RGBrgb(71, 131, 34)
HSLhsl(97, 59%, 32%)
HSVhsv(97, 74%, 51%)
CMYKcmyk(45.8%, 0%, 74%, 48.6%)
CIE-LABlab(49.11, -36.98, 43.91)
CIE-LCHlch(49.11, 57.41, 130.10°)
OKLaboklab(54.9% -0.1029 0.0991)
OKLCHoklch(54.9% 0.143 136.1)
XYZxyz(11.0033, 17.6870, 4.3472)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478322 #5E2283
analogous
#788322 #478322 #22832D
triadic
#478322 #224783 #832247
tetradic
#478322 #227883 #5E2283 #832D22
square
#478322 #227883 #5E2283 #832D22
split-complementary
#478322 #2D2283 #832278
monochromatic
#122209 #2D5215 #478322 #61B42F #80D14E

Accessibility & contrast

On white

4.63
#478322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #478322
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478322#FFFFFF#000000##FFFFFF
##4783221.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#457E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478322;
/* rgb */ color: rgb(71, 131, 34);
/* oklch */ color: oklch(54.9% 0.143 136.1);
Tailwind
colors: {
  custom: {
    50: '#80a764',
    500: '#478322',
    950: '#000000',
  },
}
SCSS
$custom: #478322;
$custom-light: #80a764;
$custom-dark: #000000;
JSON
{
  "hex": "#478322",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 97.113,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.14287,
    "h": 136.1
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#478322
secondary
#8D4CB4
accent
#46E2A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #478322

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

Preview Lab → · Contrast checker → · Palette generator →

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