#478223#478223

#478223 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.141 H 136.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#478223
RGBrgb(71, 130, 35)
HSLhsl(97, 58%, 32%)
HSVhsv(97, 73%, 51%)
CMYKcmyk(45.4%, 0%, 73.1%, 49%)
CIE-LABlab(48.79, -36.47, 43.18)
CIE-LCHlch(48.79, 56.52, 130.18°)
OKLaboklab(54.63% -0.1014 0.0978)
OKLCHoklch(54.63% 0.141 136.1)
XYZxyz(10.8843, 17.4256, 4.3797)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478223 #5E2382
analogous
#778223 #478223 #23822E
triadic
#478223 #234782 #822347
tetradic
#478223 #237782 #5E2382 #822E23
square
#478223 #237782 #5E2382 #822E23
split-complementary
#478223 #2E2382 #822377
monochromatic
#122209 #2D5216 #478223 #61B230 #80D050

Accessibility & contrast

On white

4.68
#478223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#478223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478223
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478223#FFFFFF#000000##FFFFFF
##4782231.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#457D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478223;
/* rgb */ color: rgb(71, 130, 35);
/* oklch */ color: oklch(54.6% 0.141 136.1);
Tailwind
colors: {
  custom: {
    50: '#80a764',
    500: '#478223',
    950: '#000000',
  },
}
SCSS
$custom: #478223;
$custom-light: #80a764;
$custom-dark: #000000;
JSON
{
  "hex": "#478223",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 97.263,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.14088,
    "h": 136.1
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#478223
secondary
#8D4DB3
accent
#47E1A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #478223

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

Preview Lab → · Contrast checker → · Palette generator →

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