#48792C#48792C

#48792C is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.121 H 135.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#48792C
RGBrgb(72, 121, 44)
HSLhsl(98, 47%, 32%)
HSVhsv(98, 64%, 47%)
CMYKcmyk(40.5%, 0%, 63.6%, 52.5%)
CIE-LABlab(45.95, -31.28, 36.17)
CIE-LCHlch(45.95, 47.82, 130.85°)
OKLaboklab(52.35% -0.0867 0.0842)
OKLCHoklch(52.35% 0.121 135.8)
XYZxyz(9.9642, 15.2338, 4.7978)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48792C #5D2C79
analogous
#6F792C #48792C #2C7937
triadic
#48792C #2C4879 #792C48
tetradic
#48792C #2C6F79 #5D2C79 #79372C
square
#48792C #2C6F79 #5D2C79 #79372C
split-complementary
#48792C #372C79 #792C6F
monochromatic
#131F0B #2D4C1C #48792C #63A63C #82C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48792C#FFFFFF#000000##FFFFFF
##48792C1.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)
#7D6F23
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#477569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #48792c;
/* rgb */ color: rgb(72, 121, 44);
/* oklch */ color: oklch(52.3% 0.121 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa068',
    500: '#48792c',
    950: '#000000',
  },
}
SCSS
$custom: #48792c;
$custom-light: #7fa068;
$custom-dark: #000000;
JSON
{
  "hex": "#48792c",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 98.182,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.1208,
    "h": 135.8
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#48792C
secondary
#8C57AA
accent
#51D6A6
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #48792C

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

Preview Lab → · Contrast checker → · Palette generator →

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