#477B26#477B26

#477B26 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.129 H 135.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#477B26
RGBrgb(71, 123, 38)
HSLhsl(97, 53%, 32%)
HSVhsv(97, 69%, 48%)
CMYKcmyk(42.3%, 0%, 69.1%, 51.8%)
CIE-LABlab(46.51, -33.13, 39.53)
CIE-LCHlch(46.51, 51.58, 129.97°)
OKLaboklab(52.77% -0.0921 0.0905)
OKLCHoklch(52.77% 0.129 135.5)
XYZxyz(10.0311, 15.6449, 4.3246)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B26 #5A267B
analogous
#727B26 #477B26 #267B30
triadic
#477B26 #26477B #7B2647
tetradic
#477B26 #26727B #5A267B #7B3026
square
#477B26 #26727B #5A267B #7B3026
split-complementary
#477B26 #30267B #7B2672
monochromatic
#111D09 #2C4C18 #477B26 #62AA34 #80CA52

Accessibility & contrast

On white

5.09
#477B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#477B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B26
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B26#FFFFFF#000000##FFFFFF
##477B261.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#786D2D
Tritanopia (blue-blind)
#46766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b26;
/* rgb */ color: rgb(71, 123, 38);
/* oklch */ color: oklch(52.8% 0.129 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa165',
    500: '#477b26',
    950: '#000000',
  },
}
SCSS
$custom: #477b26;
$custom-light: #7fa165;
$custom-dark: #000000;
JSON
{
  "hex": "#477b26",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 96.706,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.12917,
    "h": 135.5
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#477B26
secondary
#8950AD
accent
#4CDCA4
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477B26

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

Preview Lab → · Contrast checker → · Palette generator →

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