#486B1F#486B1F

#486B1F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.4% C 0.111 H 130.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#486B1F
RGBrgb(72, 107, 31)
HSLhsl(88, 55%, 27%)
HSVhsv(88, 71%, 42%)
CMYKcmyk(32.7%, 0%, 71%, 58%)
CIE-LABlab(41.20, -25.83, 37.04)
CIE-LCHlch(41.20, 45.16, 124.90°)
OKLaboklab(48.44% -0.0729 0.0843)
OKLCHoklch(48.44% 0.111 130.9)
XYZxyz(8.1774, 11.9918, 3.1799)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486B1F #421F6B
analogous
#6B681F #486B1F #226B1F
triadic
#486B1F #1F486B #6B1F48
tetradic
#486B1F #1F6B68 #421F6B #6B1F22
square
#486B1F #1F6B68 #421F6B #6B1F22
split-complementary
#486B1F #1F226B #681F6B
monochromatic
#101807 #283C11 #486B1F #689A2D #88C73D

Accessibility & contrast

On white

6.18
#486B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#486B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486B1F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486B1F#FFFFFF#000000##FFFFFF
##486B1F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#4A665C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #486b1f;
/* rgb */ color: rgb(72, 107, 31);
/* oklch */ color: oklch(48.4% 0.111 130.9);
Tailwind
colors: {
  custom: {
    50: '#7e955f',
    500: '#486b1f',
    950: '#000000',
  },
}
SCSS
$custom: #486b1f;
$custom-light: #7e955f;
$custom-dark: #000000;
JSON
{
  "hex": "#486b1f",
  "rgb": {
    "r": 72,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 87.632,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.11143,
    "h": 130.9
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#486B1F
secondary
#6F479F
accent
#49DE8E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #486B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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