#48951C#48951C

#48951C is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 59.8% C 0.168 H 137.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#48951C
RGBrgb(72, 149, 28)
HSLhsl(98, 68%, 35%)
HSVhsv(98, 81%, 58%)
CMYKcmyk(51.7%, 0%, 81.2%, 41.6%)
CIE-LABlab(55.03, -44.44, 51.75)
CIE-LCHlch(55.03, 68.22, 130.65°)
OKLaboklab(59.76% -0.1234 0.1146)
OKLCHoklch(59.76% 0.168 137.1)
XYZxyz(13.6291, 22.9555, 4.8110)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48951C #691C95
analogous
#85951C #48951C #1C952D
triadic
#48951C #1C4895 #951C48
tetradic
#48951C #1C8595 #691C95 #952D1C
square
#48951C #1C8595 #691C95 #952D1C
split-complementary
#48951C #2D1C95 #951C85
monochromatic
#162E09 #2F6112 #48951C #61C926 #82DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48951C#FFFFFF#000000##000000
##48951C1.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)
#90812A
Tritanopia (blue-blind)
#438F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #48951c;
/* rgb */ color: rgb(72, 149, 28);
/* oklch */ color: oklch(59.8% 0.168 137.1);
Tailwind
colors: {
  custom: {
    50: '#83b563',
    500: '#48951c',
    950: '#000000',
  },
}
SCSS
$custom: #48951c;
$custom-light: #83b563;
$custom-dark: #000000;
JSON
{
  "hex": "#48951c",
  "rgb": {
    "r": 72,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 98.182,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.16845,
    "h": 137.1
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#48951C
secondary
#964DC0
accent
#3DEBAC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #48951C

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

Preview Lab → · Contrast checker → · Palette generator →

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