#48792B#48792B

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

Color values

HEX#48792B
RGBrgb(72, 121, 43)
HSLhsl(98, 48%, 32%)
HSVhsv(98, 64%, 47%)
CMYKcmyk(40.5%, 0%, 64.5%, 52.5%)
CIE-LABlab(45.94, -31.38, 36.64)
CIE-LCHlch(45.94, 48.24, 130.58°)
OKLaboklab(52.34% -0.087 0.085)
OKLCHoklch(52.34% 0.122 135.7)
XYZxyz(9.9457, 15.2264, 4.7000)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48792B #5C2B79
analogous
#6F792B #48792B #2B7935
triadic
#48792B #2B4879 #792B48
tetradic
#48792B #2B6F79 #5C2B79 #79352B
square
#48792B #2B6F79 #5C2B79 #79352B
split-complementary
#48792B #352B79 #792B6F
monochromatic
#121F0B #2D4C1B #48792B #63A63B #82C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48792B#FFFFFF#000000##FFFFFF
##48792B1.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)
#7D6F22
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #48792b;
/* rgb */ color: rgb(72, 121, 43);
/* oklch */ color: oklch(52.3% 0.122 135.7);
Tailwind
colors: {
  custom: {
    50: '#7fa068',
    500: '#48792b',
    950: '#000000',
  },
}
SCSS
$custom: #48792b;
$custom-light: #7fa068;
$custom-dark: #000000;
JSON
{
  "hex": "#48792b",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 97.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.12168,
    "h": 135.7
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#48792B
secondary
#8B56AA
accent
#51D7A5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #48792B

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

Preview Lab → · Contrast checker → · Palette generator →

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