#488726#488726

#488726 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.145 H 136.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#488726
RGBrgb(72, 135, 38)
HSLhsl(99, 56%, 34%)
HSVhsv(99, 72%, 53%)
CMYKcmyk(46.7%, 0%, 71.9%, 47.1%)
CIE-LABlab(50.51, -38.03, 43.74)
CIE-LCHlch(50.51, 57.97, 131.01°)
OKLaboklab(56.06% -0.1055 0.0993)
OKLCHoklch(56.06% 0.145 136.7)
XYZxyz(11.6860, 18.8449, 4.8550)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488726 #652687
analogous
#798726 #488726 #268735
triadic
#488726 #264887 #872648
tetradic
#488726 #267987 #652687 #873526
square
#488726 #267987 #652687 #873526
split-complementary
#488726 #352687 #872679
monochromatic
#15270B #2F5719 #488726 #61B733 #82D058

Accessibility & contrast

On white

4.40
#488726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#488726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488726
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488726#FFFFFF#000000##000000
##4887261.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C17
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#458274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #488726;
/* rgb */ color: rgb(72, 135, 38);
/* oklch */ color: oklch(56.1% 0.145 136.7);
Tailwind
colors: {
  custom: {
    50: '#81aa66',
    500: '#488726',
    950: '#000000',
  },
}
SCSS
$custom: #488726;
$custom-light: #81aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#488726",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 98.969,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.14492,
    "h": 136.7
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#488726
secondary
#9354B5
accent
#48DFAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488726

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

Preview Lab → · Contrast checker → · Palette generator →

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