#488112#488112

#488112 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.148 H 134.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#488112
RGBrgb(72, 129, 18)
HSLhsl(91, 76%, 29%)
HSVhsv(91, 86%, 51%)
CMYKcmyk(44.2%, 0%, 86%, 49.4%)
CIE-LABlab(48.41, -36.73, 48.59)
CIE-LCHlch(48.41, 60.91, 127.08°)
OKLaboklab(54.31% -0.1033 0.1065)
OKLCHoklch(54.31% 0.148 134.1)
XYZxyz(10.6317, 17.1213, 3.3167)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488112 #4B1281
analogous
#808112 #488112 #128114
triadic
#488112 #124881 #811248
tetradic
#488112 #128081 #4B1281 #811412
square
#488112 #128081 #4B1281 #811412
split-complementary
#488112 #141281 #811280
monochromatic
#0F1B04 #2A4B0B #488112 #66B719 #84E22C

Accessibility & contrast

On white

4.75
#488112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#488112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488112
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488112#FFFFFF#000000##FFFFFF
##4881121.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#477C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488112;
/* rgb */ color: rgb(72, 129, 18);
/* oklch */ color: oklch(54.3% 0.148 134.1);
Tailwind
colors: {
  custom: {
    50: '#81a65c',
    500: '#488112',
    950: '#000000',
  },
}
SCSS
$custom: #488112;
$custom-light: #81a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#488112",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 90.811,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.14835,
    "h": 134.1
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#488112
secondary
#7938B7
accent
#36F296
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488112

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

Preview Lab → · Contrast checker → · Palette generator →

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