#48861F#48861F

#48861F is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.7% C 0.148 H 135.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#48861F
RGBrgb(72, 134, 31)
HSLhsl(96, 62%, 32%)
HSVhsv(96, 77%, 53%)
CMYKcmyk(46.3%, 0%, 76.9%, 47.5%)
CIE-LABlab(50.13, -38.13, 46.07)
CIE-LCHlch(50.13, 59.80, 129.62°)
OKLaboklab(55.73% -0.1063 0.1032)
OKLCHoklch(55.73% 0.148 135.8)
XYZxyz(11.4446, 18.5261, 4.2689)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48861F #5D1F86
analogous
#7B861F #48861F #1F862A
triadic
#48861F #1F4886 #861F48
tetradic
#48861F #1F7B86 #5D1F86 #862A1F
square
#48861F #1F7B86 #5D1F86 #862A1F
split-complementary
#48861F #2A1F86 #861F7B
monochromatic
#132308 #2D5414 #48861F #63B82A #82D54A

Accessibility & contrast

On white

4.46
#48861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#48861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48861F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48861F#FFFFFF#000000##000000
##48861F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A09
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#468172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #48861f;
/* rgb */ color: rgb(72, 134, 31);
/* oklch */ color: oklch(55.7% 0.148 135.8);
Tailwind
colors: {
  custom: {
    50: '#81aa63',
    500: '#48861f',
    950: '#000000',
  },
}
SCSS
$custom: #48861f;
$custom-light: #81aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#48861f",
  "rgb": {
    "r": 72,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 96.117,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.14813,
    "h": 135.8
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#48861F
secondary
#8C49B8
accent
#42E5A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #48861F

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

Preview Lab → · Contrast checker → · Palette generator →

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