#48951A#48951A

#48951A is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 59.7% C 0.169 H 137.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#48951A
RGBrgb(72, 149, 26)
HSLhsl(98, 70%, 34%)
HSVhsv(98, 83%, 58%)
CMYKcmyk(51.7%, 0%, 82.6%, 41.6%)
CIE-LABlab(55.02, -44.55, 52.34)
CIE-LCHlch(55.02, 68.73, 130.40°)
OKLaboklab(59.75% -0.1238 0.1156)
OKLCHoklch(59.75% 0.169 137)
XYZxyz(13.6060, 22.9462, 4.6892)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48951A #671A95
analogous
#86951A #48951A #1A952A
triadic
#48951A #1A4895 #951A48
tetradic
#48951A #1A8695 #671A95 #952A1A
square
#48951A #1A8695 #671A95 #952A1A
split-complementary
#48951A #2A1A95 #951A86
monochromatic
#162D08 #2F6111 #48951A #61C923 #82DF4A

Accessibility & contrast

On white

3.76
#48951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#48951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48951A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48951A#FFFFFF#000000##000000
##48951A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#438F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #48951a;
/* rgb */ color: rgb(72, 149, 26);
/* oklch */ color: oklch(59.7% 0.169 137.0);
Tailwind
colors: {
  custom: {
    50: '#83b563',
    500: '#48951a',
    950: '#000000',
  },
}
SCSS
$custom: #48951a;
$custom-light: #83b563;
$custom-dark: #000000;
JSON
{
  "hex": "#48951a",
  "rgb": {
    "r": 72,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 97.561,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.16938,
    "h": 137
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#48951A
secondary
#944AC1
accent
#3BEDAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #48951A

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

Preview Lab → · Contrast checker → · Palette generator →

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