#476A25#476A25

#476A25 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.105 H 132.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#476A25
RGBrgb(71, 106, 37)
HSLhsl(90, 48%, 28%)
HSVhsv(90, 65%, 42%)
CMYKcmyk(33%, 0%, 65.1%, 58.4%)
CIE-LABlab(40.87, -25.20, 33.87)
CIE-LCHlch(40.87, 42.22, 126.66°)
OKLaboklab(48.17% -0.0706 0.0784)
OKLCHoklch(48.17% 0.106 132)
XYZxyz(8.0864, 11.7810, 3.5978)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A25 #48256A
analogous
#696A25 #476A25 #256A25
triadic
#476A25 #25476A #6A2547
tetradic
#476A25 #25696A #48256A #6A2525
square
#476A25 #25696A #48256A #6A2525
split-complementary
#476A25 #25256A #6A2569
monochromatic
#0F1708 #293D15 #476A25 #659735 #84C04A

Accessibility & contrast

On white

6.26
#476A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#476A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A25
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A25#FFFFFF#000000##FFFFFF
##476A251.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621D
Deuteranopia (green-blind)
#6A5F2A
Tritanopia (blue-blind)
#48665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a25;
/* rgb */ color: rgb(71, 106, 37);
/* oklch */ color: oklch(48.2% 0.105 132.0);
Tailwind
colors: {
  custom: {
    50: '#7d9563',
    500: '#476a25',
    950: '#000000',
  },
}
SCSS
$custom: #476a25;
$custom-light: #7d9563;
$custom-dark: #000000;
JSON
{
  "hex": "#476a25",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 37
  },
  "hsl": {
    "h": 90.435,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.1055,
    "h": 132
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#476A25
secondary
#764E9D
accent
#50D895
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #476A25

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

Preview Lab → · Contrast checker → · Palette generator →

#476A25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva