#487331#487331

#487331 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.107 H 135.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#487331
RGBrgb(72, 115, 49)
HSLhsl(99, 40%, 32%)
HSVhsv(99, 57%, 45%)
CMYKcmyk(37.4%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.03, -27.89, 31.47)
CIE-LCHlch(44.03, 42.05, 131.54°)
OKLaboklab(50.8% -0.077 0.0745)
OKLCHoklch(50.8% 0.107 135.9)
XYZxyz(9.3574, 13.8605, 5.0874)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487331 #5C3173
analogous
#697331 #487331 #31733B
triadic
#487331 #314873 #733148
tetradic
#487331 #316973 #5C3173 #733B31
square
#487331 #316973 #5C3173 #733B31
split-complementary
#487331 #3B3173 #733169
monochromatic
#121D0C #2D481F #487331 #639E43 #82BC62

Accessibility & contrast

On white

5.57
#487331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#487331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487331
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487331#FFFFFF#000000##FFFFFF
##4873311.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2B
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#476F64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #487331;
/* rgb */ color: rgb(72, 115, 49);
/* oklch */ color: oklch(50.8% 0.107 135.9);
Tailwind
colors: {
  custom: {
    50: '#7e9b6b',
    500: '#487331',
    950: '#000000',
  },
}
SCSS
$custom: #487331;
$custom-light: #7e9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#487331",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 99.091,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.10718,
    "h": 135.9
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#487331
secondary
#8B5CA4
accent
#58D0A6
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #487331

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

Preview Lab → · Contrast checker → · Palette generator →

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