#488223#488223

#488223 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.140 H 135.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#488223
RGBrgb(72, 130, 35)
HSLhsl(97, 58%, 32%)
HSVhsv(97, 73%, 51%)
CMYKcmyk(44.6%, 0%, 73.1%, 49%)
CIE-LABlab(48.84, -36.13, 43.25)
CIE-LCHlch(48.84, 56.35, 129.87°)
OKLaboklab(54.69% -0.1006 0.0979)
OKLCHoklch(54.69% 0.14 135.8)
XYZxyz(10.9582, 17.4637, 4.3832)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488223 #5D2382
analogous
#778223 #488223 #23822E
triadic
#488223 #234882 #822348
tetradic
#488223 #237782 #5D2382 #822E23
square
#488223 #237782 #5D2382 #822E23
split-complementary
#488223 #2E2382 #822377
monochromatic
#132209 #2D5216 #488223 #63B230 #82D050

Accessibility & contrast

On white

4.67
#488223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#488223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488223
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488223#FFFFFF#000000##FFFFFF
##4882231.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488223;
/* rgb */ color: rgb(72, 130, 35);
/* oklch */ color: oklch(54.7% 0.140 135.8);
Tailwind
colors: {
  custom: {
    50: '#80a764',
    500: '#488223',
    950: '#000000',
  },
}
SCSS
$custom: #488223;
$custom-light: #80a764;
$custom-dark: #000000;
JSON
{
  "hex": "#488223",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 96.632,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.14033,
    "h": 135.8
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#488223
secondary
#8C4DB3
accent
#47E1A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488223

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

Preview Lab → · Contrast checker → · Palette generator →

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