#487622#487622

#487622 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.125 H 133.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#487622
RGBrgb(72, 118, 34)
HSLhsl(93, 55%, 30%)
HSVhsv(93, 71%, 46%)
CMYKcmyk(39%, 0%, 71.2%, 53.7%)
CIE-LABlab(44.87, -30.83, 39.56)
CIE-LCHlch(44.87, 50.16, 127.92°)
OKLaboklab(51.44% -0.0863 0.09)
OKLCHoklch(51.44% 0.125 133.8)
XYZxyz(9.4395, 14.4496, 3.8048)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487622 #502276
analogous
#727622 #487622 #227626
triadic
#487622 #224876 #762248
tetradic
#487622 #227276 #502276 #762622
square
#487622 #227276 #502276 #762622
split-complementary
#487622 #262276 #762272
monochromatic
#0E1807 #2B4614 #487622 #65A630 #83CA48

Accessibility & contrast

On white

5.40
#487622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#487622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487622
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487622#FFFFFF#000000##FFFFFF
##4876221.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#487165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #487622;
/* rgb */ color: rgb(72, 118, 34);
/* oklch */ color: oklch(51.4% 0.125 133.8);
Tailwind
colors: {
  custom: {
    50: '#7f9e62',
    500: '#487622',
    950: '#000000',
  },
}
SCSS
$custom: #487622;
$custom-light: #7f9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#487622",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 92.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.12468,
    "h": 133.8
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#487622
secondary
#7E4BA9
accent
#49DF9B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487622

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

Preview Lab → · Contrast checker → · Palette generator →

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