#48971D#48971D

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

Color values

HEX#48971D
RGBrgb(72, 151, 29)
HSLhsl(99, 68%, 35%)
HSVhsv(99, 81%, 59%)
CMYKcmyk(52.3%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.68, -45.17, 52.06)
CIE-LCHlch(55.68, 68.93, 130.95°)
OKLaboklab(60.3% -0.1253 0.1154)
OKLCHoklch(60.3% 0.17 137.4)
XYZxyz(13.9604, 23.5986, 4.9815)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48971D #6C1D97
analogous
#85971D #48971D #1D972F
triadic
#48971D #1D4897 #971D48
tetradic
#48971D #1D8597 #6C1D97 #972F1D
square
#48971D #1D8597 #6C1D97 #972F1D
split-complementary
#48971D #2F1D97 #971D85
monochromatic
#173009 #306413 #48971D #60CA27 #82DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48971D#FFFFFF#000000##000000
##48971D1.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)
#92832B
Tritanopia (blue-blind)
#439181
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #48971d;
/* rgb */ color: rgb(72, 151, 29);
/* oklch */ color: oklch(60.3% 0.170 137.4);
Tailwind
colors: {
  custom: {
    50: '#83b664',
    500: '#48971d',
    950: '#000000',
  },
}
SCSS
$custom: #48971d;
$custom-light: #83b664;
$custom-dark: #000000;
JSON
{
  "hex": "#48971d",
  "rgb": {
    "r": 72,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 98.852,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.17038,
    "h": 137.4
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#48971D
secondary
#994FC0
accent
#3DEBAD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48971D

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

Preview Lab → · Contrast checker → · Palette generator →

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