#476118#476118

#476118 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.6% C 0.103 H 127.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#476118
RGBrgb(71, 97, 24)
HSLhsl(81, 60%, 24%)
HSVhsv(81, 75%, 38%)
CMYKcmyk(26.8%, 0%, 75.3%, 62%)
CIE-LABlab(37.76, -21.77, 36.50)
CIE-LCHlch(37.76, 42.50, 120.81°)
OKLaboklab(45.61% -0.0624 0.0821)
OKLCHoklch(45.61% 0.103 127.2)
XYZxyz(7.0381, 9.9548, 2.4146)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476118 #321861
analogous
#615618 #476118 #226118
triadic
#476118 #184761 #611847
tetradic
#476118 #186156 #321861 #611822
square
#476118 #186156 #321861 #611822
split-complementary
#476118 #182261 #561861
monochromatic
#121906 #23300C #476118 #6B9224 #8FC330

Accessibility & contrast

On white

7.02
#476118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#476118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476118
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476118#FFFFFF#000000##FFFFFF
##4761181.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#4A5C53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476118;
/* rgb */ color: rgb(71, 97, 24);
/* oklch */ color: oklch(45.6% 0.103 127.2);
Tailwind
colors: {
  custom: {
    50: '#7d8e5a',
    500: '#476118',
    950: '#000000',
  },
}
SCSS
$custom: #476118;
$custom-light: #7d8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476118",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 81.37,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.10307,
    "h": 127.2
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#476118
secondary
#5D3D97
accent
#44E37D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476118

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

Preview Lab → · Contrast checker → · Palette generator →

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