#487E23#487E23

#487E23 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.135 H 135.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#487E23
RGBrgb(72, 126, 35)
HSLhsl(96, 57%, 32%)
HSVhsv(96, 72%, 49%)
CMYKcmyk(42.9%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.52, -34.37, 41.89)
CIE-LCHlch(47.52, 54.19, 129.37°)
OKLaboklab(53.61% -0.0958 0.0951)
OKLCHoklch(53.61% 0.135 135.2)
XYZxyz(10.4365, 16.4202, 4.2093)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487E23 #59237E
analogous
#767E23 #487E23 #237E2B
triadic
#487E23 #23487E #7E2348
tetradic
#487E23 #23767E #59237E #7E2B23
square
#487E23 #23767E #59237E #7E2B23
split-complementary
#487E23 #2B237E #7E2376
monochromatic
#111E08 #2D4E16 #487E23 #63AE30 #82CE4E

Accessibility & contrast

On white

4.90
#487E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#487E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487E23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487E23#FFFFFF#000000##FFFFFF
##487E231.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#47796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #487e23;
/* rgb */ color: rgb(72, 126, 35);
/* oklch */ color: oklch(53.6% 0.135 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a464',
    500: '#487e23',
    950: '#000000',
  },
}
SCSS
$custom: #487e23;
$custom-light: #80a464;
$custom-dark: #000000;
JSON
{
  "hex": "#487e23",
  "rgb": {
    "r": 72,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 95.604,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.13496,
    "h": 135.2
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#487E23
secondary
#884CB0
accent
#48E0A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #487E23

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

Preview Lab → · Contrast checker → · Palette generator →

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