#486F2F#486F2F

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

Color values

HEX#486F2F
RGBrgb(72, 111, 47)
HSLhsl(97, 41%, 31%)
HSVhsv(97, 58%, 44%)
CMYKcmyk(35.1%, 0%, 57.7%, 56.5%)
CIE-LABlab(42.69, -26.18, 30.93)
CIE-LCHlch(42.69, 40.52, 130.25°)
OKLaboklab(49.7% -0.0725 0.0732)
OKLCHoklch(49.7% 0.103 134.7)
XYZxyz(8.8698, 12.9515, 4.7213)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486F2F #562F6F
analogous
#686F2F #486F2F #2F6F36
triadic
#486F2F #2F486F #6F2F48
tetradic
#486F2F #2F686F #562F6F #6F362F
square
#486F2F #2F686F #562F6F #6F362F
split-complementary
#486F2F #362F6F #6F2F68
monochromatic
#10190B #2C441D #486F2F #649A41 #82BB5E

Accessibility & contrast

On white

5.85
#486F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #486F2F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486F2F#FFFFFF#000000##FFFFFF
##486F2F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6D6433
Tritanopia (blue-blind)
#486B61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #486f2f;
/* rgb */ color: rgb(72, 111, 47);
/* oklch */ color: oklch(49.7% 0.103 134.7);
Tailwind
colors: {
  custom: {
    50: '#7d9869',
    500: '#486f2f',
    950: '#000000',
  },
}
SCSS
$custom: #486f2f;
$custom-light: #7d9869;
$custom-dark: #000000;
JSON
{
  "hex": "#486f2f",
  "rgb": {
    "r": 72,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 96.563,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.10299,
    "h": 134.7
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#486F2F
secondary
#8559A0
accent
#57D0A1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #486F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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