#488125#488125

#488125 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.138 H 135.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#488125
RGBrgb(72, 129, 37)
HSLhsl(97, 55%, 33%)
HSVhsv(97, 71%, 51%)
CMYKcmyk(44.2%, 0%, 71.3%, 49.4%)
CIE-LABlab(48.53, -35.53, 42.10)
CIE-LCHlch(48.53, 55.09, 130.16°)
OKLaboklab(54.43% -0.0988 0.0958)
OKLCHoklch(54.43% 0.138 135.9)
XYZxyz(10.8564, 17.2112, 4.5000)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488125 #5E2581
analogous
#768125 #488125 #258130
triadic
#488125 #254881 #812548
tetradic
#488125 #257681 #5E2581 #813025
square
#488125 #257681 #5E2581 #813025
split-complementary
#488125 #302581 #812576
monochromatic
#13220A #2D5117 #488125 #63B133 #82CE53

Accessibility & contrast

On white

4.73
#488125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#488125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488125
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488125#FFFFFF#000000##FFFFFF
##4881251.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867617
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#467C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488125;
/* rgb */ color: rgb(72, 129, 37);
/* oklch */ color: oklch(54.4% 0.138 135.9);
Tailwind
colors: {
  custom: {
    50: '#80a665',
    500: '#488125',
    950: '#000000',
  },
}
SCSS
$custom: #488125;
$custom-light: #80a665;
$custom-dark: #000000;
JSON
{
  "hex": "#488125",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 97.174,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.13759,
    "h": 135.9
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#488125
secondary
#8D50B2
accent
#49DFA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488125

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

Preview Lab → · Contrast checker → · Palette generator →

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