#488C14#488C14

#488C14 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.161 H 135.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#488C14
RGBrgb(72, 140, 20)
HSLhsl(94, 75%, 31%)
HSVhsv(94, 86%, 55%)
CMYKcmyk(48.6%, 0%, 85.7%, 45.1%)
CIE-LABlab(52.04, -41.24, 51.30)
CIE-LCHlch(52.04, 65.82, 128.79°)
OKLaboklab(57.29% -0.1153 0.1125)
OKLCHoklch(57.29% 0.161 135.7)
XYZxyz(12.1765, 20.1836, 3.9159)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C14 #58148C
analogous
#848C14 #488C14 #148C1C
triadic
#488C14 #14488C #8C1448
tetradic
#488C14 #14848C #58148C #8C1C14
square
#488C14 #14848C #58148C #8C1C14
split-complementary
#488C14 #1C148C #8C1484
monochromatic
#112105 #2C560C #488C14 #64C21C #82E338

Accessibility & contrast

On white

4.17
#488C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#488C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C14
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C14#FFFFFF#000000##000000
##488C141.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c14;
/* rgb */ color: rgb(72, 140, 20);
/* oklch */ color: oklch(57.3% 0.161 135.7);
Tailwind
colors: {
  custom: {
    50: '#82ae5f',
    500: '#488c14',
    950: '#000000',
  },
}
SCSS
$custom: #488c14;
$custom-light: #82ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488c14",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 20
  },
  "hsl": {
    "h": 94,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.16106,
    "h": 135.7
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#488C14
secondary
#873CC0
accent
#36F2A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488C14

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

Preview Lab → · Contrast checker → · Palette generator →

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