#487922#487922

#487922 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.129 H 134.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#487922
RGBrgb(72, 121, 34)
HSLhsl(94, 56%, 30%)
HSVhsv(94, 72%, 47%)
CMYKcmyk(40.5%, 0%, 71.9%, 52.5%)
CIE-LABlab(45.86, -32.20, 40.60)
CIE-LCHlch(45.86, 51.82, 128.42°)
OKLaboklab(52.25% -0.09 0.0922)
OKLCHoklch(52.25% 0.129 134.3)
XYZxyz(9.7984, 15.1675, 3.9244)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487922 #532279
analogous
#737922 #487922 #227927
triadic
#487922 #224879 #792248
tetradic
#487922 #227379 #532279 #792722
square
#487922 #227379 #532279 #792722
split-complementary
#487922 #272279 #792273
monochromatic
#0F1907 #2C4915 #487922 #64A92F #82CC49

Accessibility & contrast

On white

5.21
#487922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487922
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487922#FFFFFF#000000##FFFFFF
##4879221.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487922;
/* rgb */ color: rgb(72, 121, 34);
/* oklch */ color: oklch(52.2% 0.129 134.3);
Tailwind
colors: {
  custom: {
    50: '#7fa062',
    500: '#487922',
    950: '#000000',
  },
}
SCSS
$custom: #487922;
$custom-light: #7fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#487922",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 93.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.12884,
    "h": 134.3
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

primary
#487922
secondary
#824BAC
accent
#48DF9D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487922

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

Preview Lab → · Contrast checker → · Palette generator →

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