#486F31#486F31

#486F31 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.101 H 135.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#486F31
RGBrgb(72, 111, 49)
HSLhsl(98, 39%, 31%)
HSVhsv(98, 56%, 44%)
CMYKcmyk(35.1%, 0%, 55.9%, 56.5%)
CIE-LABlab(42.72, -25.94, 29.91)
CIE-LCHlch(42.72, 39.59, 130.93°)
OKLaboklab(49.73% -0.0717 0.0711)
OKLCHoklch(49.73% 0.101 135.2)
XYZxyz(8.9111, 12.9680, 4.9387)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486F31 #58316F
analogous
#676F31 #486F31 #316F39
triadic
#486F31 #31486F #6F3148
tetradic
#486F31 #31676F #58316F #6F3931
square
#486F31 #31676F #58316F #6F3931
split-complementary
#486F31 #39316F #6F3167
monochromatic
#111A0C #2C451E #486F31 #649944 #82B961

Accessibility & contrast

On white

5.84
#486F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#486F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486F31
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486F31#FFFFFF#000000##FFFFFF
##486F311.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#6D6435
Tritanopia (blue-blind)
#476B61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #486f31;
/* rgb */ color: rgb(72, 111, 49);
/* oklch */ color: oklch(49.7% 0.101 135.2);
Tailwind
colors: {
  custom: {
    50: '#7d986b',
    500: '#486f31',
    950: '#000000',
  },
}
SCSS
$custom: #486f31;
$custom-light: #7d986b;
$custom-dark: #000000;
JSON
{
  "hex": "#486f31",
  "rgb": {
    "r": 72,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 97.742,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.10097,
    "h": 135.2
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#486F31
secondary
#875CA0
accent
#59CFA3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D07
muted
#7C7E7A

Preview Lab

Preview with #486F31

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

Preview Lab → · Contrast checker → · Palette generator →

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