#487718#487718

#487718 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.133 H 132.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#487718
RGBrgb(72, 119, 24)
HSLhsl(90, 66%, 28%)
HSVhsv(90, 80%, 47%)
CMYKcmyk(39.5%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.13, -32.00, 43.73)
CIE-LCHlch(45.13, 54.19, 126.19°)
OKLaboklab(51.63% -0.0902 0.0972)
OKLCHoklch(51.63% 0.133 132.9)
XYZxyz(9.4340, 14.6369, 3.1921)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487718 #471877
analogous
#777618 #487718 #187718
triadic
#487718 #184877 #771848
tetradic
#487718 #187776 #471877 #771818
square
#487718 #187776 #471877 #771818
split-complementary
#487718 #181877 #761877
monochromatic
#0F1905 #29440E #487718 #67AA22 #86D633

Accessibility & contrast

On white

5.35
#487718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#487718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487718
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487718#FFFFFF#000000##FFFFFF
##4877181.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#487265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #487718;
/* rgb */ color: rgb(72, 119, 24);
/* oklch */ color: oklch(51.6% 0.133 132.9);
Tailwind
colors: {
  custom: {
    50: '#809e5d',
    500: '#487718',
    950: '#000000',
  },
}
SCSS
$custom: #487718;
$custom-light: #809e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#487718",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 89.684,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.13261,
    "h": 132.9
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#487718
secondary
#753FAC
accent
#3EE993
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #487718

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

Preview Lab → · Contrast checker → · Palette generator →

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