#488138#488138

#488138 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.6% C 0.122 H 139.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#488138
RGBrgb(72, 129, 56)
HSLhsl(107, 39%, 36%)
HSVhsv(107, 57%, 51%)
CMYKcmyk(44.2%, 0%, 56.6%, 49.4%)
CIE-LABlab(48.71, -33.55, 33.41)
CIE-LCHlch(48.71, 47.35, 135.12°)
OKLaboklab(54.65% -0.092 0.0794)
OKLCHoklch(54.65% 0.122 139.2)
XYZxyz(11.2361, 17.3631, 6.5000)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488138 #713881
analogous
#6D8138 #488138 #38814D
triadic
#488138 #384881 #813848
tetradic
#488138 #386D81 #713881 #814D38
square
#488138 #386D81 #713881 #814D38
split-complementary
#488138 #4D3881 #81386D
monochromatic
#182C13 #305625 #488138 #60AC4B #83C272

Accessibility & contrast

On white

4.70
#488138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#488138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488138
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488138#FFFFFF#000000##FFFFFF
##4881381.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#447D71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488138;
/* rgb */ color: rgb(72, 129, 56);
/* oklch */ color: oklch(54.6% 0.122 139.2);
Tailwind
colors: {
  custom: {
    50: '#7fa671',
    500: '#488138',
    950: '#000000',
  },
}
SCSS
$custom: #488138;
$custom-light: #7fa671;
$custom-dark: #000000;
JSON
{
  "hex": "#488138",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 106.849,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.12153,
    "h": 139.2
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#488138
secondary
#9C6AAB
accent
#58CFB5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #488138

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

Preview Lab → · Contrast checker → · Palette generator →

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