#488B16#488B16

#488B16 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.159 H 135.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#488B16
RGBrgb(72, 139, 22)
HSLhsl(94, 73%, 32%)
HSVhsv(94, 84%, 55%)
CMYKcmyk(48.2%, 0%, 84.2%, 45.5%)
CIE-LABlab(51.72, -40.74, 50.47)
CIE-LCHlch(51.72, 64.86, 128.91°)
OKLaboklab(57.03% -0.1138 0.111)
OKLCHoklch(57.03% 0.159 135.7)
XYZxyz(12.0496, 19.9001, 3.9651)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B16 #59168B
analogous
#838B16 #488B16 #168B1F
triadic
#488B16 #16488B #8B1648
tetradic
#488B16 #16838B #59168B #8B1F16
square
#488B16 #16838B #59168B #8B1F16
split-complementary
#488B16 #1F168B #8B1683
monochromatic
#112105 #2D560E #488B16 #63C01E #82E03B

Accessibility & contrast

On white

4.22
#488B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#488B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B16
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B16#FFFFFF#000000##000000
##488B161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b16;
/* rgb */ color: rgb(72, 139, 22);
/* oklch */ color: oklch(57.0% 0.159 135.7);
Tailwind
colors: {
  custom: {
    50: '#82ad5f',
    500: '#488b16',
    950: '#000000',
  },
}
SCSS
$custom: #488b16;
$custom-light: #82ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488b16",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 94.359,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.15902,
    "h": 135.7
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#488B16
secondary
#883EBF
accent
#38EFA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488B16

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

Preview Lab → · Contrast checker → · Palette generator →

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