#48731A#48731A

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

Color values

HEX#48731A
RGBrgb(72, 115, 26)
HSLhsl(89, 63%, 28%)
HSVhsv(89, 77%, 45%)
CMYKcmyk(37.4%, 0%, 77.4%, 54.9%)
CIE-LABlab(43.82, -30.03, 41.74)
CIE-LCHlch(43.82, 51.42, 125.74°)
OKLaboklab(50.56% -0.0848 0.0933)
OKLCHoklch(50.56% 0.126 132.2)
XYZxyz(8.9896, 13.7134, 3.1504)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48731A #451A73
analogous
#73721A #48731A #1B731A
triadic
#48731A #1A4873 #731A48
tetradic
#48731A #1A7372 #451A73 #731A1B
square
#48731A #1A7372 #451A73 #731A1B
split-complementary
#48731A #1A1B73 #721A73
monochromatic
#101906 #29410F #48731A #67A525 #86D236

Accessibility & contrast

On white

5.61
#48731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#48731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48731A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48731A#FFFFFF#000000##FFFFFF
##48731A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48731a;
/* rgb */ color: rgb(72, 115, 26);
/* oklch */ color: oklch(50.6% 0.126 132.2);
Tailwind
colors: {
  custom: {
    50: '#7f9b5e',
    500: '#48731a',
    950: '#000000',
  },
}
SCSS
$custom: #48731a;
$custom-light: #7f9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#48731a",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 88.989,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.12607,
    "h": 132.2
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#48731A
secondary
#7341A8
accent
#42E691
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48731A

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

Preview Lab → · Contrast checker → · Palette generator →

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