#476E18#476E18

#476E18 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.121 H 131.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#476E18
RGBrgb(71, 110, 24)
HSLhsl(87, 64%, 26%)
HSVhsv(87, 78%, 43%)
CMYKcmyk(35.5%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.09, -28.20, 40.78)
CIE-LCHlch(42.09, 49.58, 124.67°)
OKLaboklab(49.13% -0.0799 0.091)
OKLCHoklch(49.13% 0.121 131.3)
XYZxyz(8.3393, 12.5571, 2.8484)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E18 #3F186E
analogous
#6E6A18 #476E18 #1C6E18
triadic
#476E18 #18476E #6E1847
tetradic
#476E18 #186E6A #3F186E #6E181C
square
#476E18 #186E6A #3F186E #6E181C
split-complementary
#476E18 #181C6E #6A186E
monochromatic
#101905 #273C0D #476E18 #67A023 #88D22F

Accessibility & contrast

On white

5.98
#476E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#476E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E18
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E18#FFFFFF#000000##FFFFFF
##476E181.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e18;
/* rgb */ color: rgb(71, 110, 24);
/* oklch */ color: oklch(49.1% 0.121 131.3);
Tailwind
colors: {
  custom: {
    50: '#7e985c',
    500: '#476e18',
    950: '#000000',
  },
}
SCSS
$custom: #476e18;
$custom-light: #7e985c;
$custom-dark: #000000;
JSON
{
  "hex": "#476e18",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 87.209,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.12111,
    "h": 131.3
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#476E18
secondary
#6C3EA4
accent
#41E78C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E18

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

Preview Lab → · Contrast checker → · Palette generator →

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