#48971A#48971A

#48971A is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.3% C 0.172 H 137.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#48971A
RGBrgb(72, 151, 26)
HSLhsl(98, 71%, 35%)
HSVhsv(98, 83%, 59%)
CMYKcmyk(52.3%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.67, -45.33, 52.94)
CIE-LCHlch(55.67, 69.70, 130.58°)
OKLaboklab(60.28% -0.1259 0.1168)
OKLCHoklch(60.28% 0.172 137.2)
XYZxyz(13.9251, 23.5845, 4.7956)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48971A #691A97
analogous
#87971A #48971A #1A972B
triadic
#48971A #1A4897 #971A48
tetradic
#48971A #1A8797 #691A97 #972B1A
square
#48971A #1A8797 #691A97 #972B1A
split-complementary
#48971A #2B1A97 #971A87
monochromatic
#162F08 #2F6311 #48971A #61CB23 #82E04B

Accessibility & contrast

On white

3.67
#48971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#48971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48971A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48971A#FFFFFF#000000##000000
##48971A1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#439180
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #48971a;
/* rgb */ color: rgb(72, 151, 26);
/* oklch */ color: oklch(60.3% 0.172 137.2);
Tailwind
colors: {
  custom: {
    50: '#84b663',
    500: '#48971a',
    950: '#000000',
  },
}
SCSS
$custom: #48971a;
$custom-light: #84b663;
$custom-dark: #000000;
JSON
{
  "hex": "#48971a",
  "rgb": {
    "r": 72,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 97.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.17177,
    "h": 137.2
  },
  "luminance": 0.23586
}

Semantic roles & 50–950 ramp

primary
#48971A
secondary
#964BC2
accent
#3AEDAC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48971A

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

Preview Lab → · Contrast checker → · Palette generator →

#48971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva