#486F17#486F17

#486F17 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.123 H 131.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#486F17
RGBrgb(72, 111, 23)
HSLhsl(87, 66%, 26%)
HSVhsv(87, 79%, 44%)
CMYKcmyk(35.1%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.47, -28.34, 41.54)
CIE-LCHlch(42.47, 50.29, 124.30°)
OKLaboklab(49.45% -0.0804 0.0924)
OKLCHoklch(49.45% 0.123 131)
XYZxyz(8.5115, 12.8081, 2.8342)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486F17 #3E176F
analogous
#6F6A17 #486F17 #1C6F17
triadic
#486F17 #17486F #6F1748
tetradic
#486F17 #176F6A #3E176F #6F171C
square
#486F17 #176F6A #3E176F #6F171C
split-complementary
#486F17 #171C6F #6A176F
monochromatic
#101905 #273C0C #486F17 #69A222 #8AD32D

Accessibility & contrast

On white

5.90
#486F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#486F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486F17
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486F17#FFFFFF#000000##FFFFFF
##486F171.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#4A6A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #486f17;
/* rgb */ color: rgb(72, 111, 23);
/* oklch */ color: oklch(49.5% 0.123 131.0);
Tailwind
colors: {
  custom: {
    50: '#7f985c',
    500: '#486f17',
    950: '#000000',
  },
}
SCSS
$custom: #486f17;
$custom-light: #7f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#486f17",
  "rgb": {
    "r": 72,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 86.591,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.12251,
    "h": 131
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#486F17
secondary
#6B3DA5
accent
#3FE98A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486F17

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

Preview Lab → · Contrast checker → · Palette generator →

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