#48701A#48701A

#48701A is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.122 H 131.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#48701A
RGBrgb(72, 112, 26)
HSLhsl(88, 62%, 27%)
HSVhsv(88, 77%, 44%)
CMYKcmyk(35.7%, 0%, 76.8%, 56.1%)
CIE-LABlab(42.82, -28.62, 40.76)
CIE-LCHlch(42.82, 49.80, 125.08°)
OKLaboklab(49.75% -0.0809 0.0913)
OKLCHoklch(49.75% 0.122 131.6)
XYZxyz(8.6530, 13.0403, 3.0382)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48701A #421A70
analogous
#706D1A #48701A #1D701A
triadic
#48701A #1A4870 #701A48
tetradic
#48701A #1A706D #421A70 #701A1D
square
#48701A #1A706D #421A70 #701A1D
split-complementary
#48701A #1A1D70 #6D1A70
monochromatic
#101906 #283E0E #48701A #68A226 #88D034

Accessibility & contrast

On white

5.82
#48701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#48701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48701A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48701A#FFFFFF#000000##FFFFFF
##48701A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756709
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#496B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #48701a;
/* rgb */ color: rgb(72, 112, 26);
/* oklch */ color: oklch(49.7% 0.122 131.6);
Tailwind
colors: {
  custom: {
    50: '#7f995d',
    500: '#48701a',
    950: '#000000',
  },
}
SCSS
$custom: #48701a;
$custom-light: #7f995d;
$custom-dark: #000000;
JSON
{
  "hex": "#48701a",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 87.907,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.122,
    "h": 131.6
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#48701A
secondary
#6F41A5
accent
#42E58E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #48701A

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

Preview Lab → · Contrast checker → · Palette generator →

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