#48701F#48701F

#48701F is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.119 H 132.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#48701F
RGBrgb(72, 112, 31)
HSLhsl(90, 57%, 28%)
HSVhsv(90, 72%, 44%)
CMYKcmyk(35.7%, 0%, 72.3%, 56.1%)
CIE-LABlab(42.86, -28.25, 38.76)
CIE-LCHlch(42.86, 47.96, 126.09°)
OKLaboklab(49.79% -0.0795 0.0879)
OKLCHoklch(49.79% 0.119 132.1)
XYZxyz(8.7139, 13.0647, 3.3587)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48701F #471F70
analogous
#706F1F #48701F #1F701F
triadic
#48701F #1F4870 #701F48
tetradic
#48701F #1F706F #471F70 #701F1F
square
#48701F #1F706F #471F70 #701F1F
split-complementary
#48701F #1F1F70 #6F1F70
monochromatic
#0F1807 #294012 #48701F #67A02C #86CA3F

Accessibility & contrast

On white

5.81
#48701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#48701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48701F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48701F#FFFFFF#000000##FFFFFF
##48701F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756713
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#496B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #48701f;
/* rgb */ color: rgb(72, 112, 31);
/* oklch */ color: oklch(49.8% 0.119 132.1);
Tailwind
colors: {
  custom: {
    50: '#7e9960',
    500: '#48701f',
    950: '#000000',
  },
}
SCSS
$custom: #48701f;
$custom-light: #7e9960;
$custom-dark: #000000;
JSON
{
  "hex": "#48701f",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 89.63,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.11852,
    "h": 132.1
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#48701F
secondary
#7547A4
accent
#48E093
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48701F

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

Preview Lab → · Contrast checker → · Palette generator →

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