#476618#476618

#476618 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.0% C 0.110 H 129.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#476618
RGBrgb(71, 102, 24)
HSLhsl(84, 62%, 25%)
HSVhsv(84, 76%, 40%)
CMYKcmyk(30.4%, 0%, 76.5%, 60%)
CIE-LABlab(39.43, -24.30, 38.16)
CIE-LCHlch(39.43, 45.24, 122.49°)
OKLaboklab(46.96% -0.0693 0.0855)
OKLCHoklch(46.96% 0.11 129)
XYZxyz(7.5148, 10.9081, 2.5735)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476618 #371866
analogous
#665E18 #476618 #206618
triadic
#476618 #184766 #661847
tetradic
#476618 #18665E #371866 #661820
square
#476618 #18665E #371866 #661820
split-complementary
#476618 #182066 #5E1866
monochromatic
#111906 #25340C #476618 #699824 #8CC92F

Accessibility & contrast

On white

6.60
#476618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#476618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476618
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476618#FFFFFF#000000##FFFFFF
##4766181.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#496157
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #476618;
/* rgb */ color: rgb(71, 102, 24);
/* oklch */ color: oklch(47.0% 0.110 129.0);
Tailwind
colors: {
  custom: {
    50: '#7d925b',
    500: '#476618',
    950: '#000000',
  },
}
SCSS
$custom: #476618;
$custom-light: #7d925b;
$custom-dark: #000000;
JSON
{
  "hex": "#476618",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 83.846,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46958,
    "c": 0.11008,
    "h": 129
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#476618
secondary
#633E9C
accent
#43E583
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #476618

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

Preview Lab → · Contrast checker → · Palette generator →

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