#488A1F#488A1F

#488A1F is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.8% C 0.153 H 136.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#488A1F
RGBrgb(72, 138, 31)
HSLhsl(97, 63%, 33%)
HSVhsv(97, 78%, 54%)
CMYKcmyk(47.8%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.44, -39.81, 47.35)
CIE-LCHlch(51.44, 61.87, 130.05°)
OKLaboklab(56.81% -0.1108 0.1059)
OKLCHoklch(56.81% 0.153 136.3)
XYZxyz(12.0080, 19.6528, 4.4567)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A1F #611F8A
analogous
#7D8A1F #488A1F #1F8A2B
triadic
#488A1F #1F488A #8A1F48
tetradic
#488A1F #1F7D8A #611F8A #8A2B1F
square
#488A1F #1F7D8A #611F8A #8A2B1F
split-complementary
#488A1F #2B1F8A #8A1F7D
monochromatic
#142609 #2E5814 #488A1F #62BC2A #82D74C

Accessibility & contrast

On white

4.26
#488A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#488A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A1F#FFFFFF#000000##000000
##488A1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488a1f;
/* rgb */ color: rgb(72, 138, 31);
/* oklch */ color: oklch(56.8% 0.153 136.3);
Tailwind
colors: {
  custom: {
    50: '#82ad63',
    500: '#488a1f',
    950: '#000000',
  },
}
SCSS
$custom: #488a1f;
$custom-light: #82ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#488a1f",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 97.009,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.15326,
    "h": 136.3
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#488A1F
secondary
#8F4BBA
accent
#41E6A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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