#487028#487028

#487028 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.111 H 133.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#487028
RGBrgb(72, 112, 40)
HSLhsl(93, 47%, 30%)
HSVhsv(93, 64%, 44%)
CMYKcmyk(35.7%, 0%, 64.3%, 56.1%)
CIE-LABlab(42.94, -27.44, 34.74)
CIE-LCHlch(42.94, 44.27, 128.31°)
OKLaboklab(49.88% -0.0765 0.0806)
OKLCHoklch(49.88% 0.111 133.5)
XYZxyz(8.8495, 13.1189, 4.0730)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487028 #502870
analogous
#6C7028 #487028 #28702C
triadic
#487028 #284870 #702848
tetradic
#487028 #286C70 #502870 #702C28
square
#487028 #286C70 #502870 #702C28
split-complementary
#487028 #2C2870 #70286C
monochromatic
#0E1708 #2B4318 #487028 #659D38 #83C151

Accessibility & contrast

On white

5.80
#487028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#487028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487028
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487028#FFFFFF#000000##FFFFFF
##4870281.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#486C61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #487028;
/* rgb */ color: rgb(72, 112, 40);
/* oklch */ color: oklch(49.9% 0.111 133.5);
Tailwind
colors: {
  custom: {
    50: '#7e9965',
    500: '#487028',
    950: '#000000',
  },
}
SCSS
$custom: #487028;
$custom-light: #7e9965;
$custom-dark: #000000;
JSON
{
  "hex": "#487028",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 93.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.11115,
    "h": 133.5
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#487028
secondary
#7E51A2
accent
#51D79B
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487028

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

Preview Lab → · Contrast checker → · Palette generator →

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