#477118#477118

#477118 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.125 H 132.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#477118
RGBrgb(71, 113, 24)
HSLhsl(88, 65%, 27%)
HSVhsv(88, 79%, 44%)
CMYKcmyk(37.2%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.09, -29.62, 41.75)
CIE-LCHlch(43.09, 51.19, 125.35°)
OKLaboklab(49.94% -0.0837 0.093)
OKLCHoklch(49.94% 0.125 132)
XYZxyz(8.6684, 13.2154, 2.9581)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477118 #421871
analogous
#716F18 #477118 #1A7118
triadic
#477118 #184771 #711847
tetradic
#477118 #18716F #421871 #71181A
square
#477118 #18716F #421871 #71181A
split-complementary
#477118 #181A71 #6F1871
monochromatic
#101905 #273F0D #477118 #67A323 #86D330

Accessibility & contrast

On white

5.76
#477118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#477118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477118
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477118#FFFFFF#000000##FFFFFF
##4771181.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#486C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477118;
/* rgb */ color: rgb(71, 113, 24);
/* oklch */ color: oklch(49.9% 0.125 132.0);
Tailwind
colors: {
  custom: {
    50: '#7e9a5c',
    500: '#477118',
    950: '#000000',
  },
}
SCSS
$custom: #477118;
$custom-light: #7e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477118",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 88.315,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.12517,
    "h": 132
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#477118
secondary
#6F3EA6
accent
#40E88F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477118

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

Preview Lab → · Contrast checker → · Palette generator →

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