#48740F#48740F

#48740F is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.133 H 131.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#48740F
RGBrgb(72, 116, 15)
HSLhsl(86, 77%, 26%)
HSVhsv(86, 87%, 45%)
CMYKcmyk(37.9%, 0%, 87.1%, 54.5%)
CIE-LABlab(44.09, -31.09, 45.57)
CIE-LCHlch(44.09, 55.17, 124.30°)
OKLaboklab(50.76% -0.0884 0.0996)
OKLCHoklch(50.76% 0.133 131.6)
XYZxyz(9.0040, 13.9026, 2.6609)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48740F #3B0F74
analogous
#746D0F #48740F #15740F
triadic
#48740F #0F4874 #740F48
tetradic
#48740F #0F746D #3B0F74 #740F15
square
#48740F #0F746D #3B0F74 #740F15
split-complementary
#48740F #0F1574 #6D0F74
monochromatic
#111B04 #263E08 #48740F #6AAA16 #8BE01D

Accessibility & contrast

On white

5.55
#48740F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#48740F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48740F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48740F#FFFFFF#000000##FFFFFF
##48740F1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#496F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #48740f;
/* rgb */ color: rgb(72, 116, 15);
/* oklch */ color: oklch(50.8% 0.133 131.6);
Tailwind
colors: {
  custom: {
    50: '#809c59',
    500: '#48740f',
    950: '#000000',
  },
}
SCSS
$custom: #48740f;
$custom-light: #809c59;
$custom-dark: #000000;
JSON
{
  "hex": "#48740f",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 15
  },
  "hsl": {
    "h": 86.139,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.13314,
    "h": 131.6
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#48740F
secondary
#6833AC
accent
#34F488
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #48740F

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

Preview Lab → · Contrast checker → · Palette generator →

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