#478E1C#478E1C

#478E1C is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.160 H 136.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#478E1C
RGBrgb(71, 142, 28)
HSLhsl(97, 67%, 33%)
HSVhsv(97, 80%, 56%)
CMYKcmyk(50%, 0%, 80.3%, 44.3%)
CIE-LABlab(52.70, -41.96, 49.55)
CIE-LCHlch(52.70, 64.93, 130.26°)
OKLaboklab(57.83% -0.1167 0.11)
OKLCHoklch(57.83% 0.16 136.7)
XYZxyz(12.4808, 20.7686, 4.4495)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E1C #631C8E
analogous
#808E1C #478E1C #1C8E2A
triadic
#478E1C #1C478E #8E1C47
tetradic
#478E1C #1C808E #631C8E #8E2A1C
square
#478E1C #1C808E #631C8E #8E2A1C
split-complementary
#478E1C #2A1C8E #8E1C80
monochromatic
#142808 #2D5B12 #478E1C #61C126 #80DB49

Accessibility & contrast

On white

4.07
#478E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#478E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E1C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E1C#FFFFFF#000000##000000
##478E1C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e1c;
/* rgb */ color: rgb(71, 142, 28);
/* oklch */ color: oklch(57.8% 0.160 136.7);
Tailwind
colors: {
  custom: {
    50: '#82b062',
    500: '#478e1c',
    950: '#000000',
  },
}
SCSS
$custom: #478e1c;
$custom-light: #82b062;
$custom-dark: #000000;
JSON
{
  "hex": "#478e1c",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 97.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.16039,
    "h": 136.7
  },
  "luminance": 0.20769
}

Semantic roles & 50–950 ramp

primary
#478E1C
secondary
#9149BD
accent
#3EEAA9
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E1C

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

Preview Lab → · Contrast checker → · Palette generator →

#478E1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva