#477C23#477C23

#477C23 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.133 H 135.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#477C23
RGBrgb(71, 124, 35)
HSLhsl(96, 56%, 31%)
HSVhsv(96, 72%, 49%)
CMYKcmyk(42.7%, 0%, 71.8%, 51.4%)
CIE-LABlab(46.81, -33.84, 41.14)
CIE-LCHlch(46.81, 53.27, 129.44°)
OKLaboklab(53.01% -0.0943 0.0935)
OKLCHoklch(53.01% 0.133 135.2)
XYZxyz(10.1093, 15.8757, 4.1214)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C23 #58237C
analogous
#737C23 #477C23 #237C2B
triadic
#477C23 #23477C #7C2347
tetradic
#477C23 #23737C #58237C #7C2B23
square
#477C23 #23737C #58237C #7C2B23
split-complementary
#477C23 #2B237C #7C2373
monochromatic
#101D08 #2C4C16 #477C23 #62AC30 #80CD4D

Accessibility & contrast

On white

5.03
#477C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#477C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C23
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C23#FFFFFF#000000##FFFFFF
##477C231.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c23;
/* rgb */ color: rgb(71, 124, 35);
/* oklch */ color: oklch(53.0% 0.133 135.2);
Tailwind
colors: {
  custom: {
    50: '#7fa263',
    500: '#477c23',
    950: '#000000',
  },
}
SCSS
$custom: #477c23;
$custom-light: #7fa263;
$custom-dark: #000000;
JSON
{
  "hex": "#477c23",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 95.73,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.13278,
    "h": 135.2
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#477C23
secondary
#874CAF
accent
#49DFA2
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C23

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

Preview Lab → · Contrast checker → · Palette generator →

#477C23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva