#487225#487225

#487225 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.117 H 133.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#487225
RGBrgb(72, 114, 37)
HSLhsl(93, 51%, 30%)
HSVhsv(93, 68%, 45%)
CMYKcmyk(36.8%, 0%, 67.5%, 55.3%)
CIE-LABlab(43.57, -28.69, 36.85)
CIE-LCHlch(43.57, 46.70, 127.90°)
OKLaboklab(50.39% -0.0802 0.0847)
OKLCHoklch(50.39% 0.117 133.4)
XYZxyz(9.0236, 13.5455, 3.8890)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487225 #4F2572
analogous
#6F7225 #487225 #257229
triadic
#487225 #254872 #722548
tetradic
#487225 #256F72 #4F2572 #722925
square
#487225 #256F72 #4F2572 #722925
split-complementary
#487225 #292572 #72256F
monochromatic
#0F1707 #2B4416 #487225 #65A034 #83C54C

Accessibility & contrast

On white

5.66
#487225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#487225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487225
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487225#FFFFFF#000000##FFFFFF
##4872251.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691B
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#486D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487225;
/* rgb */ color: rgb(72, 114, 37);
/* oklch */ color: oklch(50.4% 0.117 133.4);
Tailwind
colors: {
  custom: {
    50: '#7e9b63',
    500: '#487225',
    950: '#000000',
  },
}
SCSS
$custom: #487225;
$custom-light: #7e9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#487225",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 92.727,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.11665,
    "h": 133.4
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#487225
secondary
#7D4EA5
accent
#4DDA9A
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487225

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

Preview Lab → · Contrast checker → · Palette generator →

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