#488F16#488F16

#488F16 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.164 H 136.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#488F16
RGBrgb(72, 143, 22)
HSLhsl(95, 73%, 32%)
HSVhsv(95, 85%, 56%)
CMYKcmyk(49.7%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.04, -42.36, 51.66)
CIE-LCHlch(53.04, 66.81, 129.35°)
OKLaboklab(58.11% -0.1182 0.1135)
OKLCHoklch(58.11% 0.164 136.2)
XYZxyz(12.6394, 21.0797, 4.1617)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F16 #5D168F
analogous
#848F16 #488F16 #168F21
triadic
#488F16 #16488F #8F1648
tetradic
#488F16 #16848F #5D168F #8F2116
square
#488F16 #16848F #5D168F #8F2116
split-complementary
#488F16 #21168F #8F1684
monochromatic
#132506 #2D5A0E #488F16 #63C41E #82E13E

Accessibility & contrast

On white

4.03
#488F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#488F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F16#FFFFFF#000000##000000
##488F161.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#458979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f16;
/* rgb */ color: rgb(72, 143, 22);
/* oklch */ color: oklch(58.1% 0.164 136.2);
Tailwind
colors: {
  custom: {
    50: '#83b060',
    500: '#488f16',
    950: '#000000',
  },
}
SCSS
$custom: #488f16;
$custom-light: #83b060;
$custom-dark: #000000;
JSON
{
  "hex": "#488f16",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 95.207,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.16388,
    "h": 136.2
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#488F16
secondary
#8C3FC1
accent
#38F0A4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488F16

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

Preview Lab → · Contrast checker → · Palette generator →

#488F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva