#486A1F#486A1F

#486A1F is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.110 H 130.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#486A1F
RGBrgb(72, 106, 31)
HSLhsl(87, 55%, 27%)
HSVhsv(87, 71%, 42%)
CMYKcmyk(32.1%, 0%, 70.8%, 58.4%)
CIE-LABlab(40.87, -25.34, 36.69)
CIE-LCHlch(40.87, 44.59, 124.63°)
OKLaboklab(48.17% -0.0716 0.0835)
OKLCHoklch(48.17% 0.11 130.6)
XYZxyz(8.0738, 11.7845, 3.1453)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486A1F #411F6A
analogous
#6A671F #486A1F #236A1F
triadic
#486A1F #1F486A #6A1F48
tetradic
#486A1F #1F6A67 #411F6A #6A1F23
square
#486A1F #1F6A67 #411F6A #6A1F23
split-complementary
#486A1F #1F236A #671F6A
monochromatic
#101807 #283B11 #486A1F #68992D #88C63D

Accessibility & contrast

On white

6.26
#486A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#486A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486A1F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486A1F#FFFFFF#000000##FFFFFF
##486A1F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#6A6025
Tritanopia (blue-blind)
#4A655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #486a1f;
/* rgb */ color: rgb(72, 106, 31);
/* oklch */ color: oklch(48.2% 0.110 130.6);
Tailwind
colors: {
  custom: {
    50: '#7e955f',
    500: '#486a1f',
    950: '#000000',
  },
}
SCSS
$custom: #486a1f;
$custom-light: #7e955f;
$custom-dark: #000000;
JSON
{
  "hex": "#486a1f",
  "rgb": {
    "r": 72,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 87.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.11,
    "h": 130.6
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#486A1F
secondary
#6E479E
accent
#4ADE8D
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #486A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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