#48701B#48701B

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

Color values

HEX#48701B
RGBrgb(72, 112, 27)
HSLhsl(88, 61%, 27%)
HSVhsv(88, 76%, 44%)
CMYKcmyk(35.7%, 0%, 75.9%, 56.1%)
CIE-LABlab(42.83, -28.55, 40.37)
CIE-LCHlch(42.83, 49.45, 125.27°)
OKLaboklab(49.75% -0.0807 0.0906)
OKLCHoklch(49.75% 0.121 131.7)
XYZxyz(8.6644, 13.0449, 3.0981)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48701B #431B70
analogous
#706D1B #48701B #1E701B
triadic
#48701B #1B4870 #701B48
tetradic
#48701B #1B706D #431B70 #701B1E
square
#48701B #1B706D #431B70 #701B1E
split-complementary
#48701B #1B1E70 #6D1B70
monochromatic
#101906 #283F0F #48701B #68A127 #87CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48701B#FFFFFF#000000##FFFFFF
##48701B1.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)
#75670B
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#496B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #48701b;
/* rgb */ color: rgb(72, 112, 27);
/* oklch */ color: oklch(49.8% 0.121 131.7);
Tailwind
colors: {
  custom: {
    50: '#7f995e',
    500: '#48701b',
    950: '#000000',
  },
}
SCSS
$custom: #48701b;
$custom-light: #7f995e;
$custom-dark: #000000;
JSON
{
  "hex": "#48701b",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 88.235,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.12133,
    "h": 131.7
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#48701B
secondary
#7042A5
accent
#44E48F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #48701B

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

Preview Lab → · Contrast checker → · Palette generator →

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