#477E23#477E23

#477E23 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.136 H 135.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#477E23
RGBrgb(71, 126, 35)
HSLhsl(96, 57%, 32%)
HSVhsv(96, 72%, 49%)
CMYKcmyk(43.7%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.47, -34.72, 41.83)
CIE-LCHlch(47.47, 54.36, 129.70°)
OKLaboklab(53.55% -0.0967 0.0949)
OKLCHoklch(53.55% 0.136 135.5)
XYZxyz(10.3625, 16.3821, 4.2058)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E23 #5A237E
analogous
#757E23 #477E23 #237E2D
triadic
#477E23 #23477E #7E2347
tetradic
#477E23 #23757E #5A237E #7E2D23
square
#477E23 #23757E #5A237E #7E2D23
split-complementary
#477E23 #2D237E #7E2375
monochromatic
#111E08 #2C4E16 #477E23 #62AE30 #80CE4E

Accessibility & contrast

On white

4.91
#477E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#477E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E23
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E23#FFFFFF#000000##FFFFFF
##477E231.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837315
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e23;
/* rgb */ color: rgb(71, 126, 35);
/* oklch */ color: oklch(53.6% 0.136 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa464',
    500: '#477e23',
    950: '#000000',
  },
}
SCSS
$custom: #477e23;
$custom-light: #7fa464;
$custom-dark: #000000;
JSON
{
  "hex": "#477e23",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 96.264,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.1355,
    "h": 135.5
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#477E23
secondary
#894CB0
accent
#48E0A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E23

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

Preview Lab → · Contrast checker → · Palette generator →

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