#487118#487118

#487118 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.125 H 131.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#487118
RGBrgb(72, 113, 24)
HSLhsl(88, 65%, 27%)
HSVhsv(88, 79%, 44%)
CMYKcmyk(36.3%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.14, -29.23, 41.82)
CIE-LCHlch(43.14, 51.02, 124.94°)
OKLaboklab(50% -0.0827 0.0932)
OKLCHoklch(50% 0.125 131.6)
XYZxyz(8.7424, 13.2536, 2.9615)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487118 #411871
analogous
#716E18 #487118 #1C7118
triadic
#487118 #184871 #711848
tetradic
#487118 #18716E #411871 #71181C
square
#487118 #18716E #411871 #71181C
split-complementary
#487118 #181C71 #6E1871
monochromatic
#101905 #283F0D #487118 #68A323 #88D330

Accessibility & contrast

On white

5.75
#487118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#487118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487118
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487118#FFFFFF#000000##FFFFFF
##4871181.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487118;
/* rgb */ color: rgb(72, 113, 24);
/* oklch */ color: oklch(50.0% 0.125 131.6);
Tailwind
colors: {
  custom: {
    50: '#7f9a5c',
    500: '#487118',
    950: '#000000',
  },
}
SCSS
$custom: #487118;
$custom-light: #7f9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#487118",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 87.64,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.12461,
    "h": 131.6
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#487118
secondary
#6E3EA6
accent
#40E88D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #487118

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

Preview Lab → · Contrast checker → · Palette generator →

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