#488238#488238

#488238 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.9% C 0.123 H 139.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#488238
RGBrgb(72, 130, 56)
HSLhsl(107, 40%, 36%)
HSVhsv(107, 57%, 51%)
CMYKcmyk(44.6%, 0%, 56.9%, 49%)
CIE-LABlab(49.04, -34.00, 33.80)
CIE-LCHlch(49.04, 47.94, 135.17°)
OKLaboklab(54.92% -0.0932 0.0802)
OKLCHoklch(54.92% 0.123 139.3)
XYZxyz(11.3685, 17.6278, 6.5441)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488238 #723882
analogous
#6D8238 #488238 #38824D
triadic
#488238 #384882 #823848
tetradic
#488238 #386D82 #723882 #824D38
square
#488238 #386D82 #723882 #824D38
split-complementary
#488238 #4D3882 #82386D
monochromatic
#192C13 #305726 #488238 #60AD4A #83C272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488238#FFFFFF#000000##FFFFFF
##4882381.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)
#867831
Deuteranopia (green-blind)
#7E733D
Tritanopia (blue-blind)
#447E71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #488238;
/* rgb */ color: rgb(72, 130, 56);
/* oklch */ color: oklch(54.9% 0.123 139.3);
Tailwind
colors: {
  custom: {
    50: '#7fa771',
    500: '#488238',
    950: '#000000',
  },
}
SCSS
$custom: #488238;
$custom-light: #7fa771;
$custom-dark: #000000;
JSON
{
  "hex": "#488238",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 107.027,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.12301,
    "h": 139.3
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#488238
secondary
#9D6BAB
accent
#58D0B6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #488238

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

Preview Lab → · Contrast checker → · Palette generator →

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