#486F18#486F18

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

Color values

HEX#486F18
RGBrgb(72, 111, 24)
HSLhsl(87, 64%, 26%)
HSVhsv(87, 78%, 44%)
CMYKcmyk(35.1%, 0%, 78.4%, 56.5%)
CIE-LABlab(42.48, -28.28, 41.18)
CIE-LCHlch(42.48, 49.95, 124.48°)
OKLaboklab(49.46% -0.0802 0.0918)
OKLCHoklch(49.46% 0.122 131.1)
XYZxyz(8.5217, 12.8122, 2.8880)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486F18 #3F186F
analogous
#6F6B18 #486F18 #1D6F18
triadic
#486F18 #18486F #6F1848
tetradic
#486F18 #186F6B #3F186F #6F181D
square
#486F18 #186F6B #3F186F #6F181D
split-complementary
#486F18 #181D6F #6B186F
monochromatic
#101905 #273D0D #486F18 #69A123 #89D22F

Accessibility & contrast

On white

5.89
#486F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #486F18
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486F18#FFFFFF#000000##FFFFFF
##486F181.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#496A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #486f18;
/* rgb */ color: rgb(72, 111, 24);
/* oklch */ color: oklch(49.5% 0.122 131.1);
Tailwind
colors: {
  custom: {
    50: '#7f985c',
    500: '#486f18',
    950: '#000000',
  },
}
SCSS
$custom: #486f18;
$custom-light: #7f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#486f18",
  "rgb": {
    "r": 72,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 86.897,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.1219,
    "h": 131.1
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#486F18
secondary
#6C3EA5
accent
#40E78B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486F18

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

Preview Lab → · Contrast checker → · Palette generator →

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