#487B23#487B23

#487B23 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.131 H 134.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#487B23
RGBrgb(72, 123, 35)
HSLhsl(95, 56%, 31%)
HSVhsv(95, 72%, 48%)
CMYKcmyk(41.5%, 0%, 71.5%, 51.8%)
CIE-LABlab(46.53, -33.03, 40.87)
CIE-LCHlch(46.53, 52.55, 128.94°)
OKLaboklab(52.8% -0.0922 0.0929)
OKLCHoklch(52.8% 0.131 134.8)
XYZxyz(10.0586, 15.6645, 4.0833)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487B23 #56237B
analogous
#747B23 #487B23 #237B2A
triadic
#487B23 #23487B #7B2348
tetradic
#487B23 #23747B #56237B #7B2A23
square
#487B23 #23747B #56237B #7B2A23
split-complementary
#487B23 #2A237B #7B2374
monochromatic
#101C08 #2C4B15 #487B23 #64AB31 #82CC4C

Accessibility & contrast

On white

5.08
#487B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#487B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487B23
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487B23#FFFFFF#000000##FFFFFF
##487B231.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807116
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#477669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487b23;
/* rgb */ color: rgb(72, 123, 35);
/* oklch */ color: oklch(52.8% 0.131 134.8);
Tailwind
colors: {
  custom: {
    50: '#7fa163',
    500: '#487b23',
    950: '#000000',
  },
}
SCSS
$custom: #487b23;
$custom-light: #7fa163;
$custom-dark: #000000;
JSON
{
  "hex": "#487b23",
  "rgb": {
    "r": 72,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 94.773,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.13087,
    "h": 134.8
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#487B23
secondary
#854CAE
accent
#49DFA0
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #487B23

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

Preview Lab → · Contrast checker → · Palette generator →

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