#487229#487229

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

Color values

HEX#487229
RGBrgb(72, 114, 41)
HSLhsl(95, 47%, 30%)
HSVhsv(95, 64%, 45%)
CMYKcmyk(36.8%, 0%, 64%, 55.3%)
CIE-LABlab(43.61, -28.30, 35.00)
CIE-LCHlch(43.61, 45.01, 128.96°)
OKLaboklab(50.43% -0.0788 0.0813)
OKLCHoklch(50.43% 0.113 134.1)
XYZxyz(9.0899, 13.5721, 4.2381)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487229 #532972
analogous
#6C7229 #487229 #29722F
triadic
#487229 #294872 #722948
tetradic
#487229 #296C72 #532972 #722F29
square
#487229 #296C72 #532972 #722F29
split-complementary
#487229 #2F2972 #72296C
monochromatic
#0F1809 #2C4519 #487229 #649F39 #82C154

Accessibility & contrast

On white

5.65
#487229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #487229
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487229#FFFFFF#000000##FFFFFF
##4872291.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #487229;
/* rgb */ color: rgb(72, 114, 41);
/* oklch */ color: oklch(50.4% 0.113 134.1);
Tailwind
colors: {
  custom: {
    50: '#7e9b66',
    500: '#487229',
    950: '#000000',
  },
}
SCSS
$custom: #487229;
$custom-light: #7e9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#487229",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 94.521,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.11321,
    "h": 134.1
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#487229
secondary
#8253A4
accent
#51D79E
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487229

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

Preview Lab → · Contrast checker → · Palette generator →

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