#476E25#476E25

#476E25 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.111 H 133.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#476E25
RGBrgb(71, 110, 37)
HSLhsl(92, 50%, 29%)
HSVhsv(92, 66%, 43%)
CMYKcmyk(35.5%, 0%, 66.4%, 56.9%)
CIE-LABlab(42.19, -27.16, 35.33)
CIE-LCHlch(42.19, 44.56, 127.55°)
OKLaboklab(49.25% -0.0759 0.0815)
OKLCHoklch(49.25% 0.111 133)
XYZxyz(8.5083, 12.6247, 3.7384)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E25 #4C256E
analogous
#6C6E25 #476E25 #256E28
triadic
#476E25 #25476E #6E2547
tetradic
#476E25 #256C6E #4C256E #6E2825
square
#476E25 #256C6E #4C256E #6E2825
split-complementary
#476E25 #28256E #6E256C
monochromatic
#0F1708 #294016 #476E25 #659C34 #83C24B

Accessibility & contrast

On white

5.96
#476E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#476E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E25
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E25#FFFFFF#000000##FFFFFF
##476E251.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661C
Deuteranopia (green-blind)
#6D622B
Tritanopia (blue-blind)
#476A5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476e25;
/* rgb */ color: rgb(71, 110, 37);
/* oklch */ color: oklch(49.2% 0.111 133.0);
Tailwind
colors: {
  custom: {
    50: '#7d9863',
    500: '#476e25',
    950: '#000000',
  },
}
SCSS
$custom: #476e25;
$custom-light: #7d9863;
$custom-dark: #000000;
JSON
{
  "hex": "#476e25",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 92.055,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.1114,
    "h": 133
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#476E25
secondary
#7A4EA1
accent
#4FD999
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #476E25

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

Preview Lab → · Contrast checker → · Palette generator →

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