#487722#487722

#487722 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.126 H 134.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#487722
RGBrgb(72, 119, 34)
HSLhsl(93, 56%, 30%)
HSVhsv(93, 71%, 47%)
CMYKcmyk(39.5%, 0%, 71.4%, 53.3%)
CIE-LABlab(45.20, -31.29, 39.91)
CIE-LCHlch(45.20, 50.71, 128.10°)
OKLaboklab(51.71% -0.0875 0.0907)
OKLCHoklch(51.71% 0.126 134)
XYZxyz(9.5579, 14.6864, 3.8442)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487722 #512277
analogous
#737722 #487722 #227726
triadic
#487722 #224877 #772248
tetradic
#487722 #227377 #512277 #772622
square
#487722 #227377 #512277 #772622
split-complementary
#487722 #262277 #772273
monochromatic
#0E1807 #2B4714 #487722 #65A730 #83CB49

Accessibility & contrast

On white

5.33
#487722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#487722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487722
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487722#FFFFFF#000000##FFFFFF
##4877221.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D15
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#487266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #487722;
/* rgb */ color: rgb(72, 119, 34);
/* oklch */ color: oklch(51.7% 0.126 134.0);
Tailwind
colors: {
  custom: {
    50: '#7f9e62',
    500: '#487722',
    950: '#000000',
  },
}
SCSS
$custom: #487722;
$custom-light: #7f9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#487722",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 93.176,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.12607,
    "h": 134
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#487722
secondary
#7F4BAA
accent
#49DF9C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487722

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

Preview Lab → · Contrast checker → · Palette generator →

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