#48971C#48971C

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

Color values

HEX#48971C
RGBrgb(72, 151, 28)
HSLhsl(99, 69%, 35%)
HSVhsv(99, 81%, 59%)
CMYKcmyk(52.3%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.68, -45.23, 52.36)
CIE-LCHlch(55.68, 69.19, 130.82°)
OKLaboklab(60.29% -0.1255 0.1159)
OKLCHoklch(60.29% 0.171 137.3)
XYZxyz(13.9482, 23.5937, 4.9174)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48971C #6B1C97
analogous
#85971C #48971C #1C972E
triadic
#48971C #1C4897 #971C48
tetradic
#48971C #1C8597 #6B1C97 #972E1C
square
#48971C #1C8597 #6B1C97 #972E1C
split-complementary
#48971C #2E1C97 #971C85
monochromatic
#173009 #2F6312 #48971C #61CB26 #82DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48971C#FFFFFF#000000##000000
##48971C1.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: #48971c;
/* rgb */ color: rgb(72, 151, 28);
/* oklch */ color: oklch(60.3% 0.171 137.3);
Tailwind
colors: {
  custom: {
    50: '#84b664',
    500: '#48971c',
    950: '#000000',
  },
}
SCSS
$custom: #48971c;
$custom-light: #84b664;
$custom-dark: #000000;
JSON
{
  "hex": "#48971c",
  "rgb": {
    "r": 72,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 98.537,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60294,
    "c": 0.17086,
    "h": 137.3
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#48971C
secondary
#984EC1
accent
#3CECAD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48971C

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

Preview Lab → · Contrast checker → · Palette generator →

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