#48702F#48702F

#48702F is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.105 H 134.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#48702F
RGBrgb(72, 112, 47)
HSLhsl(97, 41%, 31%)
HSVhsv(97, 58%, 44%)
CMYKcmyk(35.7%, 0%, 58%, 56.1%)
CIE-LABlab(43.02, -26.67, 31.31)
CIE-LCHlch(43.02, 41.13, 130.42°)
OKLaboklab(49.97% -0.0738 0.074)
OKLCHoklch(49.97% 0.105 134.9)
XYZxyz(8.9795, 13.1709, 4.7579)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48702F #572F70
analogous
#68702F #48702F #2F7036
triadic
#48702F #2F4870 #702F48
tetradic
#48702F #2F6870 #572F70 #70362F
square
#48702F #2F6870 #572F70 #70362F
split-complementary
#48702F #362F70 #702F68
monochromatic
#111A0B #2C451D #48702F #649B41 #82BB5E

Accessibility & contrast

On white

5.78
#48702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#48702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #48702F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48702F#FFFFFF#000000##FFFFFF
##48702F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#476C62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #48702f;
/* rgb */ color: rgb(72, 112, 47);
/* oklch */ color: oklch(50.0% 0.105 134.9);
Tailwind
colors: {
  custom: {
    50: '#7e996a',
    500: '#48702f',
    950: '#000000',
  },
}
SCSS
$custom: #48702f;
$custom-light: #7e996a;
$custom-dark: #000000;
JSON
{
  "hex": "#48702f",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 96.923,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.10454,
    "h": 134.9
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#48702F
secondary
#865AA1
accent
#57D1A2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #48702F

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

Preview Lab → · Contrast checker → · Palette generator →

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