#488022#488022

#488022 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.138 H 135.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#488022
RGBrgb(72, 128, 34)
HSLhsl(96, 58%, 32%)
HSVhsv(96, 73%, 50%)
CMYKcmyk(43.8%, 0%, 73.4%, 49.8%)
CIE-LABlab(48.17, -35.33, 42.97)
CIE-LCHlch(48.17, 55.63, 129.43°)
OKLaboklab(54.14% -0.0985 0.0972)
OKLCHoklch(54.14% 0.138 135.4)
XYZxyz(10.6801, 16.9310, 4.2183)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488022 #5A2280
analogous
#778022 #488022 #22802B
triadic
#488022 #224880 #802248
tetradic
#488022 #227780 #5A2280 #802B22
square
#488022 #227780 #5A2280 #802B22
split-complementary
#488022 #2B2280 #802277
monochromatic
#121F08 #2D5015 #488022 #63B02F #82D04D

Accessibility & contrast

On white

4.79
#488022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#488022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488022
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488022#FFFFFF#000000##FFFFFF
##4880221.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #488022;
/* rgb */ color: rgb(72, 128, 34);
/* oklch */ color: oklch(54.1% 0.138 135.4);
Tailwind
colors: {
  custom: {
    50: '#80a563',
    500: '#488022',
    950: '#000000',
  },
}
SCSS
$custom: #488022;
$custom-light: #80a563;
$custom-dark: #000000;
JSON
{
  "hex": "#488022",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 95.745,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.13834,
    "h": 135.4
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#488022
secondary
#894BB2
accent
#47E1A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488022

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

Preview Lab → · Contrast checker → · Palette generator →

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