#476E2F#476E2F

#476E2F is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.102 H 135.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#476E2F
RGBrgb(71, 110, 47)
HSLhsl(97, 40%, 31%)
HSVhsv(97, 57%, 43%)
CMYKcmyk(35.5%, 0%, 57.3%, 56.9%)
CIE-LABlab(42.30, -26.07, 30.45)
CIE-LCHlch(42.30, 40.09, 130.57°)
OKLaboklab(49.37% -0.0721 0.0722)
OKLCHoklch(49.37% 0.102 135)
XYZxyz(8.6874, 12.6963, 4.6817)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E2F #562F6E
analogous
#666E2F #476E2F #2F6E36
triadic
#476E2F #2F476E #6E2F47
tetradic
#476E2F #2F666E #562F6E #6E362F
square
#476E2F #2F666E #562F6E #6E362F
split-complementary
#476E2F #362F6E #6E2F66
monochromatic
#10180A #2B431D #476E2F #639941 #81BA5D

Accessibility & contrast

On white

5.93
#476E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#476E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E2F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E2F#FFFFFF#000000##FFFFFF
##476E2F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6C6333
Tritanopia (blue-blind)
#466A60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476e2f;
/* rgb */ color: rgb(71, 110, 47);
/* oklch */ color: oklch(49.4% 0.102 135.0);
Tailwind
colors: {
  custom: {
    50: '#7d9869',
    500: '#476e2f',
    950: '#000000',
  },
}
SCSS
$custom: #476e2f;
$custom-light: #7d9869;
$custom-dark: #000000;
JSON
{
  "hex": "#476e2f",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 97.143,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.10203,
    "h": 135
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#476E2F
secondary
#85599F
accent
#58D0A2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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