#487B2C#487B2C

#487B2C is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.124 H 136.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#487B2C
RGBrgb(72, 123, 44)
HSLhsl(99, 47%, 33%)
HSVhsv(99, 64%, 48%)
CMYKcmyk(41.5%, 0%, 64.2%, 51.8%)
CIE-LABlab(46.61, -32.20, 36.91)
CIE-LCHlch(46.61, 48.98, 131.10°)
OKLaboklab(52.89% -0.0892 0.0857)
OKLCHoklch(52.89% 0.124 136.1)
XYZxyz(10.2098, 15.7249, 4.8796)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B2C #5F2C7B
analogous
#6F7B2C #487B2C #2C7B37
triadic
#487B2C #2C487B #7B2C48
tetradic
#487B2C #2C6F7B #5F2C7B #7B372C
square
#487B2C #2C6F7B #5F2C7B #7B372C
split-complementary
#487B2C #372C7B #7B2C6F
monochromatic
#13210C #2E4E1C #487B2C #62A83C #82C55D

Accessibility & contrast

On white

5.07
#487B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#487B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B2C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B2C#FFFFFF#000000##FFFFFF
##487B2C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b2c;
/* rgb */ color: rgb(72, 123, 44);
/* oklch */ color: oklch(52.9% 0.124 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa169',
    500: '#487b2c',
    950: '#000000',
  },
}
SCSS
$custom: #487b2c;
$custom-light: #7fa169;
$custom-dark: #000000;
JSON
{
  "hex": "#487b2c",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 98.734,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.1237,
    "h": 136.1
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#487B2C
secondary
#8E58AB
accent
#51D7A7
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #487B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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