#487231#487231

#487231 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.106 H 135.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#487231
RGBrgb(72, 114, 49)
HSLhsl(99, 40%, 32%)
HSVhsv(99, 57%, 45%)
CMYKcmyk(36.8%, 0%, 57%, 55.3%)
CIE-LABlab(43.70, -27.40, 31.08)
CIE-LCHlch(43.70, 41.44, 131.40°)
OKLaboklab(50.53% -0.0757 0.0737)
OKLCHoklch(50.53% 0.106 135.8)
XYZxyz(9.2439, 13.6337, 5.0496)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487231 #5B3172
analogous
#697231 #487231 #31723B
triadic
#487231 #314872 #723148
tetradic
#487231 #316972 #5B3172 #723B31
square
#487231 #316972 #5B3172 #723B31
split-complementary
#487231 #3B3172 #723169
monochromatic
#121C0C #2D471F #487231 #639D43 #82BB62

Accessibility & contrast

On white

5.63
#487231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#487231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487231
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487231#FFFFFF#000000##FFFFFF
##4872311.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#476E63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487231;
/* rgb */ color: rgb(72, 114, 49);
/* oklch */ color: oklch(50.5% 0.106 135.8);
Tailwind
colors: {
  custom: {
    50: '#7e9b6b',
    500: '#487231',
    950: '#000000',
  },
}
SCSS
$custom: #487231;
$custom-light: #7e9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#487231",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 98.769,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.10563,
    "h": 135.8
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#487231
secondary
#8A5CA3
accent
#58D0A5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #487231

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

Preview Lab → · Contrast checker → · Palette generator →

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