#476830#476830

#476830 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.091 H 133.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#476830
RGBrgb(71, 104, 48)
HSLhsl(95, 37%, 30%)
HSVhsv(95, 54%, 41%)
CMYKcmyk(31.7%, 0%, 53.8%, 59.2%)
CIE-LABlab(40.33, -22.95, 27.57)
CIE-LCHlch(40.33, 35.87, 129.77°)
OKLaboklab(47.78% -0.0634 0.0659)
OKLCHoklch(47.78% 0.091 133.9)
XYZxyz(8.0822, 11.4533, 4.5806)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476830 #513068
analogous
#636830 #476830 #306835
triadic
#476830 #304768 #683047
tetradic
#476830 #306368 #513068 #683530
square
#476830 #306368 #513068 #683530
split-complementary
#476830 #353068 #683063
monochromatic
#0E150A #2A3E1D #476830 #649243 #81B55E

Accessibility & contrast

On white

6.38
#476830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#476830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476830
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476830#FFFFFF#000000##FFFFFF
##4768301.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612B
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#47645B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476830;
/* rgb */ color: rgb(71, 104, 48);
/* oklch */ color: oklch(47.8% 0.091 133.9);
Tailwind
colors: {
  custom: {
    50: '#7c936a',
    500: '#476830',
    950: '#000000',
  },
}
SCSS
$custom: #476830;
$custom-light: #7c936a;
$custom-dark: #000000;
JSON
{
  "hex": "#476830",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 95.357,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.09149,
    "h": 133.9
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#476830
secondary
#805A99
accent
#5BCD9E
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #476830

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

Preview Lab → · Contrast checker → · Palette generator →

#476830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva