#488C1E#488C1E

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

Color values

HEX#488C1E
RGBrgb(72, 140, 30)
HSLhsl(97, 65%, 33%)
HSVhsv(97, 79%, 55%)
CMYKcmyk(48.6%, 0%, 78.6%, 45.1%)
CIE-LABlab(52.09, -40.70, 48.33)
CIE-LCHlch(52.09, 63.19, 130.10°)
OKLaboklab(57.35% -0.1133 0.1078)
OKLCHoklch(57.35% 0.156 136.4)
XYZxyz(12.2846, 20.2268, 4.4849)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C1E #621E8C
analogous
#7F8C1E #488C1E #1E8C2B
triadic
#488C1E #1E488C #8C1E48
tetradic
#488C1E #1E7F8C #621E8C #8C2B1E
square
#488C1E #1E7F8C #621E8C #8C2B1E
split-complementary
#488C1E #2B1E8C #8C1E7F
monochromatic
#142708 #2E5A13 #488C1E #62BE29 #82D94C

Accessibility & contrast

On white

4.16
#488C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#488C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C1E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C1E#FFFFFF#000000##000000
##488C1E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#458777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c1e;
/* rgb */ color: rgb(72, 140, 30);
/* oklch */ color: oklch(57.3% 0.156 136.4);
Tailwind
colors: {
  custom: {
    50: '#82ae63',
    500: '#488c1e',
    950: '#000000',
  },
}
SCSS
$custom: #488c1e;
$custom-light: #82ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#488c1e",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 97.091,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.15634,
    "h": 136.4
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#488C1E
secondary
#904BBB
accent
#40E8A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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