#478323#478323

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

Color values

HEX#478323
RGBrgb(71, 131, 35)
HSLhsl(98, 58%, 33%)
HSVhsv(98, 73%, 51%)
CMYKcmyk(45.8%, 0%, 73.3%, 48.6%)
CIE-LABlab(49.12, -36.90, 43.52)
CIE-LCHlch(49.12, 57.06, 130.30°)
OKLaboklab(54.91% -0.1026 0.0985)
OKLCHoklch(54.91% 0.142 136.2)
XYZxyz(11.0179, 17.6929, 4.4243)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478323 #5F2383
analogous
#778323 #478323 #23832F
triadic
#478323 #234783 #832347
tetradic
#478323 #237783 #5F2383 #832F23
square
#478323 #237783 #5F2383 #832F23
split-complementary
#478323 #2F2383 #832377
monochromatic
#132209 #2D5316 #478323 #61B330 #80D050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478323#FFFFFF#000000##FFFFFF
##4783231.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)
#887813
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#457E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478323;
/* rgb */ color: rgb(71, 131, 35);
/* oklch */ color: oklch(54.9% 0.142 136.2);
Tailwind
colors: {
  custom: {
    50: '#80a764',
    500: '#478323',
    950: '#000000',
  },
}
SCSS
$custom: #478323;
$custom-light: #80a764;
$custom-dark: #000000;
JSON
{
  "hex": "#478323",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 97.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.14221,
    "h": 136.2
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #478323

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

Preview Lab → · Contrast checker → · Palette generator →

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