#48751E#48751E

#48751E is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.1% C 0.126 H 133.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#48751E
RGBrgb(72, 117, 30)
HSLhsl(91, 59%, 29%)
HSVhsv(91, 74%, 46%)
CMYKcmyk(38.5%, 0%, 74.4%, 54.1%)
CIE-LABlab(44.51, -30.68, 40.86)
CIE-LCHlch(44.51, 51.10, 126.90°)
OKLaboklab(51.13% -0.0862 0.0921)
OKLCHoklch(51.13% 0.126 133.1)
XYZxyz(9.2680, 14.1936, 3.4794)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48751E #4B1E75
analogous
#74751E #48751E #1E751F
triadic
#48751E #1E4875 #751E48
tetradic
#48751E #1E7475 #4B1E75 #751F1E
square
#48751E #1E7475 #4B1E75 #751F1E
split-complementary
#48751E #1F1E75 #751E74
monochromatic
#0F1806 #2A4412 #48751E #66A62A #84CE40

Accessibility & contrast

On white

5.47
#48751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#48751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48751E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48751E#FFFFFF#000000##FFFFFF
##48751E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#487064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #48751e;
/* rgb */ color: rgb(72, 117, 30);
/* oklch */ color: oklch(51.1% 0.126 133.1);
Tailwind
colors: {
  custom: {
    50: '#7f9d60',
    500: '#48751e',
    950: '#000000',
  },
}
SCSS
$custom: #48751e;
$custom-light: #7f9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#48751e",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 91.034,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.12617,
    "h": 133.1
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#48751E
secondary
#7946A9
accent
#45E297
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48751E

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

Preview Lab → · Contrast checker → · Palette generator →

#48751E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva