#487A1E#487A1E

#487A1E is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.133 H 134.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#487A1E
RGBrgb(72, 122, 30)
HSLhsl(93, 61%, 30%)
HSVhsv(93, 75%, 48%)
CMYKcmyk(41%, 0%, 75.4%, 52.2%)
CIE-LABlab(46.16, -32.96, 42.52)
CIE-LCHlch(46.16, 53.80, 127.78°)
OKLaboklab(52.48% -0.0924 0.0956)
OKLCHoklch(52.48% 0.133 134)
XYZxyz(9.8662, 15.3900, 3.6788)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A1E #501E7A
analogous
#767A1E #487A1E #1E7A22
triadic
#487A1E #1E487A #7A1E48
tetradic
#487A1E #1E767A #501E7A #7A221E
square
#487A1E #1E767A #501E7A #7A221E
split-complementary
#487A1E #221E7A #7A1E76
monochromatic
#0E1906 #2B4912 #487A1E #65AB2A #83D042

Accessibility & contrast

On white

5.15
#487A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#487A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A1E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A1E#FFFFFF#000000##FFFFFF
##487A1E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#487568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a1e;
/* rgb */ color: rgb(72, 122, 30);
/* oklch */ color: oklch(52.5% 0.133 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a160',
    500: '#487a1e',
    950: '#000000',
  },
}
SCSS
$custom: #487a1e;
$custom-light: #80a160;
$custom-dark: #000000;
JSON
{
  "hex": "#487a1e",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 92.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.13295,
    "h": 134
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#487A1E
secondary
#7E46AE
accent
#44E49B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #487A1E

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

Preview Lab → · Contrast checker → · Palette generator →

#487A1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva