#486D2F#486D2F

#486D2F is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.100 H 134.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#486D2F
RGBrgb(72, 109, 47)
HSLhsl(96, 40%, 31%)
HSVhsv(96, 57%, 43%)
CMYKcmyk(33.9%, 0%, 56.9%, 57.3%)
CIE-LABlab(42.03, -25.19, 30.15)
CIE-LCHlch(42.03, 39.29, 129.89°)
OKLaboklab(49.17% -0.0698 0.0715)
OKLCHoklch(49.17% 0.1 134.3)
XYZxyz(8.6540, 12.5199, 4.6494)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486D2F #542F6D
analogous
#676D2F #486D2F #2F6D35
triadic
#486D2F #2F486D #6D2F48
tetradic
#486D2F #2F676D #542F6D #6D352F
square
#486D2F #2F676D #542F6D #6D352F
split-complementary
#486D2F #352F6D #6D2F67
monochromatic
#10170A #2C421D #486D2F #649841 #82B95D

Accessibility & contrast

On white

5.99
#486D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#486D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486D2F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486D2F#FFFFFF#000000##FFFFFF
##486D2F1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#48695F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #486d2f;
/* rgb */ color: rgb(72, 109, 47);
/* oklch */ color: oklch(49.2% 0.100 134.3);
Tailwind
colors: {
  custom: {
    50: '#7d9769',
    500: '#486d2f',
    950: '#000000',
  },
}
SCSS
$custom: #486d2f;
$custom-light: #7d9769;
$custom-dark: #000000;
JSON
{
  "hex": "#486d2f",
  "rgb": {
    "r": 72,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 95.806,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.09988,
    "h": 134.3
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#486D2F
secondary
#83599E
accent
#58D09F
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #486D2F

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

Preview Lab → · Contrast checker → · Palette generator →

#486D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva