#487A23#487A23

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

Color values

HEX#487A23
RGBrgb(72, 122, 35)
HSLhsl(94, 55%, 31%)
HSVhsv(94, 71%, 48%)
CMYKcmyk(41%, 0%, 71.3%, 52.2%)
CIE-LABlab(46.20, -32.58, 40.52)
CIE-LCHlch(46.20, 51.99, 128.79°)
OKLaboklab(52.53% -0.0909 0.0922)
OKLCHoklch(52.53% 0.129 134.6)
XYZxyz(9.9352, 15.4176, 4.0422)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A23 #55237A
analogous
#737A23 #487A23 #237A29
triadic
#487A23 #23487A #7A2348
tetradic
#487A23 #23737A #55237A #7A2923
square
#487A23 #23737A #55237A #7A2923
split-complementary
#487A23 #29237A #7A2373
monochromatic
#101B08 #2C4A15 #487A23 #64AA31 #82CC4C

Accessibility & contrast

On white

5.14
#487A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487A23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A23#FFFFFF#000000##FFFFFF
##487A231.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a23;
/* rgb */ color: rgb(72, 122, 35);
/* oklch */ color: oklch(52.5% 0.129 134.6);
Tailwind
colors: {
  custom: {
    50: '#7fa163',
    500: '#487a23',
    950: '#000000',
  },
}
SCSS
$custom: #487a23;
$custom-light: #7fa163;
$custom-dark: #000000;
JSON
{
  "hex": "#487a23",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 94.483,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.12949,
    "h": 134.6
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#487A23
secondary
#844CAD
accent
#49DF9F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #487A23

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

Preview Lab → · Contrast checker → · Palette generator →

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