#488310#488310

#488310 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.8% C 0.152 H 134.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#488310
RGBrgb(72, 131, 16)
HSLhsl(91, 78%, 29%)
HSVhsv(91, 88%, 51%)
CMYKcmyk(45%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.07, -37.67, 49.68)
CIE-LCHlch(49.07, 62.34, 127.17°)
OKLaboklab(54.84% -0.1059 0.1085)
OKLCHoklch(54.84% 0.152 134.3)
XYZxyz(10.8821, 17.6471, 3.3229)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488310 #4B1083
analogous
#828310 #488310 #108312
triadic
#488310 #104883 #831048
tetradic
#488310 #108283 #4B1083 #831210
square
#488310 #108283 #4B1083 #831210
split-complementary
#488310 #121083 #831082
monochromatic
#0F1B03 #2A4C09 #488310 #66BA17 #84E529

Accessibility & contrast

On white

4.64
#488310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#488310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #488310
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488310#FFFFFF#000000##FFFFFF
##4883101.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#477E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #488310;
/* rgb */ color: rgb(72, 131, 16);
/* oklch */ color: oklch(54.8% 0.152 134.3);
Tailwind
colors: {
  custom: {
    50: '#81a75c',
    500: '#488310',
    950: '#000000',
  },
}
SCSS
$custom: #488310;
$custom-light: #81a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#488310",
  "rgb": {
    "r": 72,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 90.783,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.15161,
    "h": 134.3
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#488310
secondary
#7936B9
accent
#33F596
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488310

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

Preview Lab → · Contrast checker → · Palette generator →

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