#48792D#48792D

#48792D is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.120 H 136.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#48792D
RGBrgb(72, 121, 45)
HSLhsl(99, 46%, 33%)
HSVhsv(99, 63%, 47%)
CMYKcmyk(40.5%, 0%, 62.8%, 52.5%)
CIE-LABlab(45.96, -31.17, 35.70)
CIE-LCHlch(45.96, 47.40, 131.12°)
OKLaboklab(52.36% -0.0863 0.0833)
OKLCHoklch(52.36% 0.12 136)
XYZxyz(9.9833, 15.2414, 4.8980)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48792D #5E2D79
analogous
#6E792D #48792D #2D7938
triadic
#48792D #2D4879 #792D48
tetradic
#48792D #2D6E79 #5E2D79 #79382D
square
#48792D #2D6E79 #5E2D79 #79382D
split-complementary
#48792D #382D79 #792D6E
monochromatic
#13200C #2D4C1C #48792D #63A63E #82C35D

Accessibility & contrast

On white

5.19
#48792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#48792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48792D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48792D#FFFFFF#000000##FFFFFF
##48792D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F25
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#467569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #48792d;
/* rgb */ color: rgb(72, 121, 45);
/* oklch */ color: oklch(52.4% 0.120 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa069',
    500: '#48792d',
    950: '#000000',
  },
}
SCSS
$custom: #48792d;
$custom-light: #7fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#48792d",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 98.684,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.11992,
    "h": 136
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#48792D
secondary
#8D58A9
accent
#52D5A7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #48792D

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

Preview Lab → · Contrast checker → · Palette generator →

#48792D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva