#488C12#488C12

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

Color values

HEX#488C12
RGBrgb(72, 140, 18)
HSLhsl(93, 77%, 31%)
HSVhsv(93, 87%, 55%)
CMYKcmyk(48.6%, 0%, 87.1%, 45.1%)
CIE-LABlab(52.04, -41.32, 51.80)
CIE-LCHlch(52.04, 66.26, 128.58°)
OKLaboklab(57.28% -0.1156 0.1132)
OKLCHoklch(57.28% 0.162 135.6)
XYZxyz(12.1595, 20.1768, 3.8259)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C12 #56128C
analogous
#858C12 #488C12 #128C19
triadic
#488C12 #12488C #8C1248
tetradic
#488C12 #12858C #56128C #8C1912
square
#488C12 #12858C #56128C #8C1912
split-complementary
#488C12 #19128C #8C1285
monochromatic
#102004 #2C560B #488C12 #64C219 #82E534

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C12#FFFFFF#000000##000000
##488C121.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)
#887A22
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c12;
/* rgb */ color: rgb(72, 140, 18);
/* oklch */ color: oklch(57.3% 0.162 135.6);
Tailwind
colors: {
  custom: {
    50: '#82ae5e',
    500: '#488c12',
    950: '#000000',
  },
}
SCSS
$custom: #488c12;
$custom-light: #82ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#488c12",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 93.443,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57282,
    "c": 0.16183,
    "h": 135.6
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#488C12
secondary
#8539C0
accent
#34F49F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488C12

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

Preview Lab → · Contrast checker → · Palette generator →

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