#48841F#48841F

#48841F is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.2% C 0.146 H 135.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#48841F
RGBrgb(72, 132, 31)
HSLhsl(96, 62%, 32%)
HSVhsv(96, 77%, 52%)
CMYKcmyk(45.5%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.47, -37.28, 45.42)
CIE-LCHlch(49.47, 58.76, 129.38°)
OKLaboklab(55.19% -0.104 0.1018)
OKLCHoklch(55.19% 0.146 135.6)
XYZxyz(11.1708, 17.9785, 4.1776)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48841F #5B1F84
analogous
#7A841F #48841F #1F8429
triadic
#48841F #1F4884 #841F48
tetradic
#48841F #1F7A84 #5B1F84 #84291F
square
#48841F #1F7A84 #5B1F84 #84291F
split-complementary
#48841F #291F84 #841F7A
monochromatic
#122108 #2D5213 #48841F #63B62B #82D449

Accessibility & contrast

On white

4.57
#48841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#48841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48841F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48841F#FFFFFF#000000##000000
##48841F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#467F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #48841f;
/* rgb */ color: rgb(72, 132, 31);
/* oklch */ color: oklch(55.2% 0.146 135.6);
Tailwind
colors: {
  custom: {
    50: '#81a862',
    500: '#48841f',
    950: '#000000',
  },
}
SCSS
$custom: #48841f;
$custom-light: #81a862;
$custom-dark: #000000;
JSON
{
  "hex": "#48841f",
  "rgb": {
    "r": 72,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 95.644,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.14554,
    "h": 135.6
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#48841F
secondary
#8A48B7
accent
#43E5A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #48841F

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

Preview Lab → · Contrast checker → · Palette generator →

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