#487915#487915

#487915 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.137 H 133.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#487915
RGBrgb(72, 121, 21)
HSLhsl(89, 70%, 28%)
HSVhsv(89, 83%, 47%)
CMYKcmyk(40.5%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.78, -33.07, 45.33)
CIE-LCHlch(45.78, 56.12, 126.11°)
OKLaboklab(52.15% -0.0933 0.1001)
OKLCHoklch(52.15% 0.137 133)
XYZxyz(9.6451, 15.1061, 3.1169)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487915 #461579
analogous
#797815 #487915 #167915
triadic
#487915 #154879 #791548
tetradic
#487915 #157978 #461579 #791516
square
#487915 #157978 #461579 #791516
split-complementary
#487915 #151679 #781579
monochromatic
#101A05 #29450C #487915 #67AD1E #86DB2E

Accessibility & contrast

On white

5.22
#487915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#487915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487915
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487915#FFFFFF#000000##FFFFFF
##4879151.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#487467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #487915;
/* rgb */ color: rgb(72, 121, 21);
/* oklch */ color: oklch(52.2% 0.137 133.0);
Tailwind
colors: {
  custom: {
    50: '#80a05c',
    500: '#487915',
    950: '#000000',
  },
}
SCSS
$custom: #487915;
$custom-light: #80a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#487915",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 89.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.13683,
    "h": 133
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#487915
secondary
#743BAF
accent
#3BED92
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #487915

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

Preview Lab → · Contrast checker → · Palette generator →

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