#488E1A#488E1A

#488E1A is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.161 H 136.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#488E1A
RGBrgb(72, 142, 26)
HSLhsl(96, 69%, 33%)
HSVhsv(96, 82%, 56%)
CMYKcmyk(49.3%, 0%, 81.7%, 44.3%)
CIE-LABlab(52.73, -41.75, 50.22)
CIE-LCHlch(52.73, 65.31, 129.74°)
OKLaboklab(57.86% -0.1163 0.1111)
OKLCHoklch(57.86% 0.161 136.3)
XYZxyz(12.5316, 20.7975, 4.3311)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E1A #601A8E
analogous
#828E1A #488E1A #1A8E26
triadic
#488E1A #1A488E #8E1A48
tetradic
#488E1A #1A828E #601A8E #8E261A
square
#488E1A #1A828E #601A8E #8E261A
split-complementary
#488E1A #261A8E #8E1A82
monochromatic
#142707 #2E5A11 #488E1A #62C223 #82DD45

Accessibility & contrast

On white

4.07
#488E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#488E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E1A#FFFFFF#000000##000000
##488E1A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#458979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e1a;
/* rgb */ color: rgb(72, 142, 26);
/* oklch */ color: oklch(57.9% 0.161 136.3);
Tailwind
colors: {
  custom: {
    50: '#82b061',
    500: '#488e1a',
    950: '#000000',
  },
}
SCSS
$custom: #488e1a;
$custom-light: #82b061;
$custom-dark: #000000;
JSON
{
  "hex": "#488e1a",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 96.207,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.16087,
    "h": 136.3
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#488E1A
secondary
#8E45BE
accent
#3CECA6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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