#487223#487223

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

Color values

HEX#487223
RGBrgb(72, 114, 35)
HSLhsl(92, 53%, 29%)
HSVhsv(92, 69%, 45%)
CMYKcmyk(36.8%, 0%, 69.3%, 55.3%)
CIE-LABlab(43.56, -28.87, 37.74)
CIE-LCHlch(43.56, 47.51, 127.42°)
OKLaboklab(50.37% -0.0808 0.0863)
OKLCHoklch(50.37% 0.118 133.1)
XYZxyz(8.9930, 13.5333, 3.7281)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487223 #4D2372
analogous
#707223 #487223 #237226
triadic
#487223 #234872 #722348
tetradic
#487223 #237072 #4D2372 #722623
square
#487223 #237072 #4D2372 #722623
split-complementary
#487223 #262372 #722370
monochromatic
#0F1707 #2A4315 #487223 #66A131 #84C748

Accessibility & contrast

On white

5.67
#487223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487223
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487223#FFFFFF#000000##FFFFFF
##4872231.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #487223;
/* rgb */ color: rgb(72, 114, 35);
/* oklch */ color: oklch(50.4% 0.118 133.1);
Tailwind
colors: {
  custom: {
    50: '#7e9b62',
    500: '#487223',
    950: '#000000',
  },
}
SCSS
$custom: #487223;
$custom-light: #7e9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#487223",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 91.899,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.11828,
    "h": 133.1
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#487223
secondary
#7B4CA5
accent
#4BDC98
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #487223

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

Preview Lab → · Contrast checker → · Palette generator →

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