#487226#487226

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

Color values

HEX#487226
RGBrgb(72, 114, 38)
HSLhsl(93, 50%, 30%)
HSVhsv(93, 67%, 45%)
CMYKcmyk(36.8%, 0%, 66.7%, 55.3%)
CIE-LABlab(43.58, -28.59, 36.39)
CIE-LCHlch(43.58, 46.28, 128.16°)
OKLaboklab(50.4% -0.0798 0.0839)
OKLCHoklch(50.4% 0.116 133.6)
XYZxyz(9.0395, 13.5519, 3.9728)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487226 #502672
analogous
#6E7226 #487226 #26722A
triadic
#487226 #264872 #722648
tetradic
#487226 #266E72 #502672 #722A26
square
#487226 #266E72 #502672 #722A26
split-complementary
#487226 #2A2672 #72266E
monochromatic
#0E1708 #2B4417 #487226 #65A035 #83C44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##487226#FFFFFF#000000##FFFFFF
##4872261.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)
#77691D
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#486D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487226;
/* rgb */ color: rgb(72, 114, 38);
/* oklch */ color: oklch(50.4% 0.116 133.6);
Tailwind
colors: {
  custom: {
    50: '#7e9b64',
    500: '#487226',
    950: '#000000',
  },
}
SCSS
$custom: #487226;
$custom-light: #7e9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#487226",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 93.158,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.11581,
    "h": 133.6
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#487226
secondary
#7E4FA5
accent
#4EDA9B
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487226

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

Preview Lab → · Contrast checker → · Palette generator →

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