#488F1A#488F1A

#488F1A is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.162 H 136.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#488F1A
RGBrgb(72, 143, 26)
HSLhsl(96, 69%, 33%)
HSVhsv(96, 82%, 56%)
CMYKcmyk(49.7%, 0%, 81.8%, 43.9%)
CIE-LABlab(53.05, -42.16, 50.53)
CIE-LCHlch(53.05, 65.81, 129.84°)
OKLaboklab(58.13% -0.1174 0.1118)
OKLCHoklch(58.13% 0.162 136.4)
XYZxyz(12.6810, 21.0964, 4.3809)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F1A #611A8F
analogous
#828F1A #488F1A #1A8F26
triadic
#488F1A #1A488F #8F1A48
tetradic
#488F1A #1A828F #611A8F #8F261A
square
#488F1A #1A828F #611A8F #8F261A
split-complementary
#488F1A #261A8F #8F1A82
monochromatic
#142707 #2E5B11 #488F1A #62C323 #82DD46

Accessibility & contrast

On white

4.02
#488F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#488F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F1A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F1A#FFFFFF#000000##000000
##488F1A1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#44897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f1a;
/* rgb */ color: rgb(72, 143, 26);
/* oklch */ color: oklch(58.1% 0.162 136.4);
Tailwind
colors: {
  custom: {
    50: '#82b062',
    500: '#488f1a',
    950: '#000000',
  },
}
SCSS
$custom: #488f1a;
$custom-light: #82b062;
$custom-dark: #000000;
JSON
{
  "hex": "#488f1a",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 96.41,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.1621,
    "h": 136.4
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#488F1A
secondary
#8F46BF
accent
#3CECA7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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