#488D1F#488D1F

#488D1F is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.157 H 136.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#488D1F
RGBrgb(72, 141, 31)
HSLhsl(98, 64%, 34%)
HSVhsv(98, 78%, 55%)
CMYKcmyk(48.9%, 0%, 78%, 44.7%)
CIE-LABlab(52.43, -41.05, 48.31)
CIE-LCHlch(52.43, 63.39, 130.36°)
OKLaboklab(57.62% -0.1141 0.1079)
OKLCHoklch(57.62% 0.157 136.6)
XYZxyz(12.4443, 20.5256, 4.6022)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D1F #641F8D
analogous
#7F8D1F #488D1F #1F8D2D
triadic
#488D1F #1F488D #8D1F48
tetradic
#488D1F #1F7F8D #641F8D #8D2D1F
square
#488D1F #1F7F8D #641F8D #8D2D1F
split-complementary
#488D1F #2D1F8D #8D1F7F
monochromatic
#152909 #2E5B14 #488D1F #62BF2A #82D84E

Accessibility & contrast

On white

4.11
#488D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#488D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D1F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D1F#FFFFFF#000000##000000
##488D1F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#448878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d1f;
/* rgb */ color: rgb(72, 141, 31);
/* oklch */ color: oklch(57.6% 0.157 136.6);
Tailwind
colors: {
  custom: {
    50: '#82af64',
    500: '#488d1f',
    950: '#000000',
  },
}
SCSS
$custom: #488d1f;
$custom-light: #82af64;
$custom-dark: #000000;
JSON
{
  "hex": "#488d1f",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 97.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.15705,
    "h": 136.6
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

primary
#488D1F
secondary
#924DBB
accent
#41E7A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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