#487923#487923

#487923 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.128 H 134.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#487923
RGBrgb(72, 121, 35)
HSLhsl(94, 55%, 31%)
HSVhsv(94, 71%, 47%)
CMYKcmyk(40.5%, 0%, 71.1%, 52.5%)
CIE-LABlab(45.87, -32.12, 40.18)
CIE-LCHlch(45.87, 51.44, 128.64°)
OKLaboklab(52.26% -0.0897 0.0915)
OKLCHoklch(52.26% 0.128 134.4)
XYZxyz(9.8130, 15.1733, 4.0015)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487923 #542379
analogous
#737923 #487923 #237929
triadic
#487923 #234879 #792348
tetradic
#487923 #237379 #542379 #792923
square
#487923 #237379 #542379 #792923
split-complementary
#487923 #292379 #792373
monochromatic
#101A08 #2C4A15 #487923 #64A831 #82CB4B

Accessibility & contrast

On white

5.20
#487923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#487923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487923
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487923#FFFFFF#000000##FFFFFF
##4879231.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#477468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487923;
/* rgb */ color: rgb(72, 121, 35);
/* oklch */ color: oklch(52.3% 0.128 134.4);
Tailwind
colors: {
  custom: {
    50: '#7fa063',
    500: '#487923',
    950: '#000000',
  },
}
SCSS
$custom: #487923;
$custom-light: #7fa063;
$custom-dark: #000000;
JSON
{
  "hex": "#487923",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 94.186,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.12811,
    "h": 134.4
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#487923
secondary
#834CAC
accent
#49DE9E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487923

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

Preview Lab → · Contrast checker → · Palette generator →

#487923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva