#48971F#48971F

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

Color values

HEX#48971F
RGBrgb(72, 151, 31)
HSLhsl(100, 66%, 36%)
HSVhsv(100, 79%, 59%)
CMYKcmyk(52.3%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.69, -45.06, 51.44)
CIE-LCHlch(55.69, 68.38, 131.21°)
OKLaboklab(60.31% -0.1249 0.1144)
OKLCHoklch(60.31% 0.169 137.5)
XYZxyz(13.9860, 23.6088, 5.1160)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48971F #6E1F97
analogous
#84971F #48971F #1F9732
triadic
#48971F #1F4897 #971F48
tetradic
#48971F #1F8497 #6E1F97 #97321F
square
#48971F #1F8497 #6E1F97 #97321F
split-complementary
#48971F #321F97 #971F84
monochromatic
#18310A #306415 #48971F #60CA29 #83DC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #48971f;
/* rgb */ color: rgb(72, 151, 31);
/* oklch */ color: oklch(60.3% 0.169 137.5);
Tailwind
colors: {
  custom: {
    50: '#83b665',
    500: '#48971f',
    950: '#000000',
  },
}
SCSS
$custom: #48971f;
$custom-light: #83b665;
$custom-dark: #000000;
JSON
{
  "hex": "#48971f",
  "rgb": {
    "r": 72,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 99.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.16939,
    "h": 137.5
  },
  "luminance": 0.2361
}

Semantic roles & 50–950 ramp

primary
#48971F
secondary
#9A52BF
accent
#3FE9AF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48971F

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

Preview Lab → · Contrast checker → · Palette generator →

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