#48901F#48901F

#48901F is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.161 H 136.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#48901F
RGBrgb(72, 144, 31)
HSLhsl(98, 65%, 34%)
HSVhsv(98, 78%, 56%)
CMYKcmyk(50%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.41, -42.27, 49.26)
CIE-LCHlch(53.41, 64.91, 130.64°)
OKLaboklab(58.43% -0.1174 0.1099)
OKLCHoklch(58.43% 0.161 136.9)
XYZxyz(12.8927, 21.4223, 4.7516)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48901F #671F90
analogous
#81901F #48901F #1F902F
triadic
#48901F #1F4890 #901F48
tetradic
#48901F #1F8190 #671F90 #902F1F
square
#48901F #1F8190 #671F90 #902F1F
split-complementary
#48901F #2F1F90 #901F81
monochromatic
#162B09 #2F5E14 #48901F #61C22A #82D950

Accessibility & contrast

On white

3.97
#48901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#48901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #48901F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48901F#FFFFFF#000000##000000
##48901F1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#448B7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #48901f;
/* rgb */ color: rgb(72, 144, 31);
/* oklch */ color: oklch(58.4% 0.161 136.9);
Tailwind
colors: {
  custom: {
    50: '#82b164',
    500: '#48901f',
    950: '#000000',
  },
}
SCSS
$custom: #48901f;
$custom-light: #82b164;
$custom-dark: #000000;
JSON
{
  "hex": "#48901f",
  "rgb": {
    "r": 72,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 98.23,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.1608,
    "h": 136.9
  },
  "luminance": 0.21423
}

Semantic roles & 50–950 ramp

primary
#48901F
secondary
#944EBC
accent
#40E8AB
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #48901F

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

Preview Lab → · Contrast checker → · Palette generator →

#48901F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva