#488C1F#488C1F

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

Color values

HEX#488C1F
RGBrgb(72, 140, 31)
HSLhsl(97, 64%, 34%)
HSVhsv(97, 78%, 55%)
CMYKcmyk(48.6%, 0%, 77.9%, 45.1%)
CIE-LABlab(52.10, -40.64, 47.99)
CIE-LCHlch(52.10, 62.89, 130.26°)
OKLaboklab(57.35% -0.113 0.1072)
OKLCHoklch(57.35% 0.156 136.5)
XYZxyz(12.2975, 20.2320, 4.5532)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C1F #631F8C
analogous
#7E8C1F #488C1F #1F8C2C
triadic
#488C1F #1F488C #8C1F48
tetradic
#488C1F #1F7E8C #631F8C #8C2C1F
square
#488C1F #1F7E8C #631F8C #8C2C1F
split-complementary
#488C1F #2C1F8C #8C1F7E
monochromatic
#142809 #2E5A14 #488C1F #62BE2A #82D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C1F#FFFFFF#000000##000000
##488C1F1.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)
#918005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#458777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c1f;
/* rgb */ color: rgb(72, 140, 31);
/* oklch */ color: oklch(57.4% 0.156 136.5);
Tailwind
colors: {
  custom: {
    50: '#82ae63',
    500: '#488c1f',
    950: '#000000',
  },
}
SCSS
$custom: #488c1f;
$custom-light: #82ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#488c1f",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 97.431,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.15578,
    "h": 136.5
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#488C1F
secondary
#914CBB
accent
#41E7A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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