#476F2F#476F2F

#476F2F is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.104 H 135.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#476F2F
RGBrgb(71, 111, 47)
HSLhsl(98, 41%, 31%)
HSVhsv(98, 58%, 44%)
CMYKcmyk(36%, 0%, 57.7%, 56.5%)
CIE-LABlab(42.63, -26.56, 30.84)
CIE-LCHlch(42.63, 40.71, 130.74°)
OKLaboklab(49.64% -0.0735 0.073)
OKLCHoklch(49.64% 0.104 135.2)
XYZxyz(8.7959, 12.9133, 4.7178)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F2F #572F6F
analogous
#676F2F #476F2F #2F6F37
triadic
#476F2F #2F476F #6F2F47
tetradic
#476F2F #2F676F #572F6F #6F372F
square
#476F2F #2F676F #572F6F #6F372F
split-complementary
#476F2F #372F6F #6F2F67
monochromatic
#10190B #2B441D #476F2F #639A41 #81BB5E

Accessibility & contrast

On white

5.86
#476F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#476F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F2F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F2F#FFFFFF#000000##FFFFFF
##476F2F1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#466B61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #476f2f;
/* rgb */ color: rgb(71, 111, 47);
/* oklch */ color: oklch(49.6% 0.104 135.2);
Tailwind
colors: {
  custom: {
    50: '#7d9869',
    500: '#476f2f',
    950: '#000000',
  },
}
SCSS
$custom: #476f2f;
$custom-light: #7d9869;
$custom-dark: #000000;
JSON
{
  "hex": "#476f2f",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 97.5,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.10358,
    "h": 135.2
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#476F2F
secondary
#8659A0
accent
#57D0A3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #476F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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