#48731F#48731F

#48731F is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.123 H 132.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#48731F
RGBrgb(72, 115, 31)
HSLhsl(91, 58%, 29%)
HSVhsv(91, 73%, 45%)
CMYKcmyk(37.4%, 0%, 73%, 54.9%)
CIE-LABlab(43.85, -29.67, 39.78)
CIE-LCHlch(43.85, 49.63, 126.72°)
OKLaboklab(50.6% -0.0834 0.09)
OKLCHoklch(50.6% 0.123 132.8)
XYZxyz(9.0504, 13.7377, 3.4708)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48731F #4A1F73
analogous
#72731F #48731F #1F7320
triadic
#48731F #1F4873 #731F48
tetradic
#48731F #1F7273 #4A1F73 #73201F
square
#48731F #1F7273 #4A1F73 #73201F
split-complementary
#48731F #201F73 #731F72
monochromatic
#0F1806 #2A4312 #48731F #66A32C #85CC41

Accessibility & contrast

On white

5.60
#48731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#48731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48731F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48731F#FFFFFF#000000##FFFFFF
##48731F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A12
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#496E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #48731f;
/* rgb */ color: rgb(72, 115, 31);
/* oklch */ color: oklch(50.6% 0.123 132.8);
Tailwind
colors: {
  custom: {
    50: '#7f9b60',
    500: '#48731f',
    950: '#000000',
  },
}
SCSS
$custom: #48731f;
$custom-light: #7f9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#48731f",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 90.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.1227,
    "h": 132.8
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#48731F
secondary
#7847A7
accent
#47E196
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48731F

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

Preview Lab → · Contrast checker → · Palette generator →

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