#48792F#48792F

#48792F is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.118 H 136.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#48792F
RGBrgb(72, 121, 47)
HSLhsl(100, 44%, 33%)
HSVhsv(100, 61%, 47%)
CMYKcmyk(40.5%, 0%, 61.2%, 52.5%)
CIE-LABlab(45.98, -30.95, 34.75)
CIE-LCHlch(45.98, 46.54, 131.69°)
OKLaboklab(52.39% -0.0856 0.0814)
OKLCHoklch(52.39% 0.118 136.4)
XYZxyz(10.0227, 15.2572, 5.1056)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48792F #602F79
analogous
#6D792F #48792F #2F793B
triadic
#48792F #2F4879 #792F48
tetradic
#48792F #2F6D79 #602F79 #793B2F
square
#48792F #2F6D79 #602F79 #793B2F
split-complementary
#48792F #3B2F79 #792F6D
monochromatic
#14210D #2E4D1E #48792F #62A540 #82C261

Accessibility & contrast

On white

5.18
#48792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #48792F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48792F#FFFFFF#000000##FFFFFF
##48792F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48792f;
/* rgb */ color: rgb(72, 121, 47);
/* oklch */ color: oklch(52.4% 0.118 136.4);
Tailwind
colors: {
  custom: {
    50: '#7fa06a',
    500: '#48792f',
    950: '#000000',
  },
}
SCSS
$custom: #48792f;
$custom-light: #7fa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#48792f",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 99.73,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.11812,
    "h": 136.4
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#48792F
secondary
#8E5BA8
accent
#54D4A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #48792F

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

Preview Lab → · Contrast checker → · Palette generator →

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