#476A30#476A30

#476A30 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.095 H 134.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#476A30
RGBrgb(71, 106, 48)
HSLhsl(96, 38%, 30%)
HSVhsv(96, 55%, 42%)
CMYKcmyk(33%, 0%, 54.7%, 58.4%)
CIE-LABlab(40.99, -23.96, 28.36)
CIE-LCHlch(40.99, 37.13, 130.19°)
OKLaboklab(48.31% -0.0662 0.0677)
OKLCHoklch(48.31% 0.095 134.4)
XYZxyz(8.2859, 11.8608, 4.6485)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A30 #53306A
analogous
#646A30 #476A30 #306A36
triadic
#476A30 #30476A #6A3047
tetradic
#476A30 #30646A #53306A #6A3630
square
#476A30 #30646A #53306A #6A3630
split-complementary
#476A30 #36306A #6A3064
monochromatic
#0F160A #2B401D #476A30 #639443 #81B65E

Accessibility & contrast

On white

6.23
#476A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#476A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A30
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A30#FFFFFF#000000##FFFFFF
##476A301.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632B
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#47665D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476a30;
/* rgb */ color: rgb(71, 106, 48);
/* oklch */ color: oklch(48.3% 0.095 134.4);
Tailwind
colors: {
  custom: {
    50: '#7c956a',
    500: '#476a30',
    950: '#000000',
  },
}
SCSS
$custom: #476a30;
$custom-light: #7c956a;
$custom-dark: #000000;
JSON
{
  "hex": "#476a30",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 48
  },
  "hsl": {
    "h": 96.207,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.09469,
    "h": 134.4
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#476A30
secondary
#825A9B
accent
#5ACEA0
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476A30

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

Preview Lab → · Contrast checker → · Palette generator →

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