#48782A#48782A

#48782A is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.121 H 135.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#48782A
RGBrgb(72, 120, 42)
HSLhsl(97, 48%, 32%)
HSVhsv(97, 65%, 47%)
CMYKcmyk(40%, 0%, 65%, 52.9%)
CIE-LABlab(45.60, -31.02, 36.74)
CIE-LCHlch(45.60, 48.08, 130.18°)
OKLaboklab(52.06% -0.0861 0.0851)
OKLCHoklch(52.06% 0.121 135.3)
XYZxyz(9.8066, 14.9773, 4.5642)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48782A #5A2A78
analogous
#6F782A #48782A #2A7833
triadic
#48782A #2A4878 #782A48
tetradic
#48782A #2A6F78 #5A2A78 #78332A
square
#48782A #2A6F78 #5A2A78 #78332A
split-complementary
#48782A #332A78 #782A6F
monochromatic
#121D0A #2D4B1A #48782A #63A53A #82C558

Accessibility & contrast

On white

5.26
#48782A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#48782A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48782A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48782A#FFFFFF#000000##FFFFFF
##48782A1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#766A30
Tritanopia (blue-blind)
#477468
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #48782a;
/* rgb */ color: rgb(72, 120, 42);
/* oklch */ color: oklch(52.1% 0.121 135.3);
Tailwind
colors: {
  custom: {
    50: '#7f9f67',
    500: '#48782a',
    950: '#000000',
  },
}
SCSS
$custom: #48782a;
$custom-light: #7f9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#48782a",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 96.923,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.12109,
    "h": 135.3
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#48782A
secondary
#8954AA
accent
#50D8A4
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #48782A

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

Preview Lab → · Contrast checker → · Palette generator →

#48782A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva