#487A26#487A26

#487A26 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.127 H 135.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#487A26
RGBrgb(72, 122, 38)
HSLhsl(96, 53%, 31%)
HSVhsv(96, 69%, 48%)
CMYKcmyk(41%, 0%, 68.9%, 52.2%)
CIE-LABlab(46.23, -32.32, 39.25)
CIE-LCHlch(46.23, 50.84, 129.47°)
OKLaboklab(52.55% -0.09 0.0899)
OKLCHoklch(52.55% 0.127 135)
XYZxyz(9.9817, 15.4362, 4.2869)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487A26 #58267A
analogous
#727A26 #487A26 #267A2E
triadic
#487A26 #26487A #7A2648
tetradic
#487A26 #26727A #58267A #7A2E26
square
#487A26 #26727A #58267A #7A2E26
split-complementary
#487A26 #2E267A #7A2672
monochromatic
#111D09 #2C4B17 #487A26 #64A935 #82C951

Accessibility & contrast

On white

5.14
#487A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#487A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487A26
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487A26#FFFFFF#000000##FFFFFF
##487A261.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701B
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #487a26;
/* rgb */ color: rgb(72, 122, 38);
/* oklch */ color: oklch(52.6% 0.127 135.0);
Tailwind
colors: {
  custom: {
    50: '#7fa165',
    500: '#487a26',
    950: '#000000',
  },
}
SCSS
$custom: #487a26;
$custom-light: #7fa165;
$custom-dark: #000000;
JSON
{
  "hex": "#487a26",
  "rgb": {
    "r": 72,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 95.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.12721,
    "h": 135
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#487A26
secondary
#8750AC
accent
#4CDCA2
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #487A26

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

Preview Lab → · Contrast checker → · Palette generator →

#487A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva