#48811F#48811F

#48811F is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.142 H 135.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#48811F
RGBrgb(72, 129, 31)
HSLhsl(95, 61%, 31%)
HSVhsv(95, 76%, 51%)
CMYKcmyk(44.2%, 0%, 76%, 49.4%)
CIE-LABlab(48.48, -35.99, 44.45)
CIE-LCHlch(48.48, 57.19, 129.00°)
OKLaboklab(54.38% -0.1005 0.0998)
OKLCHoklch(54.38% 0.142 135.2)
XYZxyz(10.7698, 17.1765, 4.0440)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48811F #581F81
analogous
#79811F #48811F #1F8127
triadic
#48811F #1F4881 #811F48
tetradic
#48811F #1F7981 #581F81 #81271F
square
#48811F #1F7981 #581F81 #81271F
split-complementary
#48811F #271F81 #811F79
monochromatic
#111E07 #2C5013 #48811F #64B22B #82D347

Accessibility & contrast

On white

4.73
#48811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#48811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48811F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48811F#FFFFFF#000000##FFFFFF
##48811F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#467C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #48811f;
/* rgb */ color: rgb(72, 129, 31);
/* oklch */ color: oklch(54.4% 0.142 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a662',
    500: '#48811f',
    950: '#000000',
  },
}
SCSS
$custom: #48811f;
$custom-light: #80a662;
$custom-dark: #000000;
JSON
{
  "hex": "#48811f",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 94.898,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.14162,
    "h": 135.2
  },
  "luminance": 0.17177
}

Semantic roles & 50–950 ramp

primary
#48811F
secondary
#8748B4
accent
#43E4A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #48811F

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

Preview Lab → · Contrast checker → · Palette generator →

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