#487626#487626

#487626 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.122 H 134.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#487626
RGBrgb(72, 118, 38)
HSLhsl(95, 51%, 31%)
HSVhsv(95, 68%, 46%)
CMYKcmyk(39%, 0%, 67.8%, 53.7%)
CIE-LABlab(44.91, -30.48, 37.83)
CIE-LCHlch(44.91, 48.58, 128.86°)
OKLaboklab(51.48% -0.085 0.0869)
OKLCHoklch(51.48% 0.122 134.4)
XYZxyz(9.5006, 14.4741, 4.1265)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487626 #542676
analogous
#707626 #487626 #26762C
triadic
#487626 #264876 #762648
tetradic
#487626 #267076 #542676 #762C26
square
#487626 #267076 #542676 #762C26
split-complementary
#487626 #2C2676 #762670
monochromatic
#101908 #2C4817 #487626 #64A435 #82C750

Accessibility & contrast

On white

5.39
#487626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#487626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487626
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487626#FFFFFF#000000##FFFFFF
##4876261.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1C
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#487165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #487626;
/* rgb */ color: rgb(72, 118, 38);
/* oklch */ color: oklch(51.5% 0.122 134.4);
Tailwind
colors: {
  custom: {
    50: '#7f9e64',
    500: '#487626',
    950: '#000000',
  },
}
SCSS
$custom: #487626;
$custom-light: #7f9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#487626",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 94.5,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.12156,
    "h": 134.4
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#487626
secondary
#834FA8
accent
#4DDB9F
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #487626

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

Preview Lab → · Contrast checker → · Palette generator →

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