#487819#487819

#487819 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.9% C 0.133 H 133.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#487819
RGBrgb(72, 120, 25)
HSLhsl(90, 66%, 28%)
HSVhsv(90, 79%, 47%)
CMYKcmyk(40%, 0%, 79.2%, 52.9%)
CIE-LABlab(45.47, -32.39, 43.70)
CIE-LCHlch(45.47, 54.40, 126.55°)
OKLaboklab(51.91% -0.0912 0.0973)
OKLCHoklch(51.91% 0.133 133.2)
XYZxyz(9.5643, 14.8804, 3.2878)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487819 #491978
analogous
#777819 #487819 #19781A
triadic
#487819 #194878 #781948
tetradic
#487819 #197778 #491978 #781A19
square
#487819 #197778 #491978 #781A19
split-complementary
#487819 #1A1978 #781977
monochromatic
#0F1905 #2A450E #487819 #66AB24 #85D536

Accessibility & contrast

On white

5.28
#487819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#487819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487819
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487819#FFFFFF#000000##FFFFFF
##4878191.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#487366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487819;
/* rgb */ color: rgb(72, 120, 25);
/* oklch */ color: oklch(51.9% 0.133 133.2);
Tailwind
colors: {
  custom: {
    50: '#809f5e',
    500: '#487819',
    950: '#000000',
  },
}
SCSS
$custom: #487819;
$custom-light: #809f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#487819",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 90.316,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.13337,
    "h": 133.2
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#487819
secondary
#7740AD
accent
#3FE895
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #487819

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

Preview Lab → · Contrast checker → · Palette generator →

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