#486E18#486E18

#486E18 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.121 H 130.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#486E18
RGBrgb(72, 110, 24)
HSLhsl(87, 64%, 26%)
HSVhsv(87, 78%, 43%)
CMYKcmyk(34.5%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.15, -27.80, 40.86)
CIE-LCHlch(42.15, 49.42, 124.23°)
OKLaboklab(49.19% -0.0789 0.0912)
OKLCHoklch(49.19% 0.121 130.9)
XYZxyz(8.4132, 12.5952, 2.8518)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486E18 #3E186E
analogous
#6E6918 #486E18 #1D6E18
triadic
#486E18 #18486E #6E1848
tetradic
#486E18 #186E69 #3E186E #6E181D
square
#486E18 #186E69 #3E186E #6E181D
split-complementary
#486E18 #181D6E #69186E
monochromatic
#101905 #273C0D #486E18 #69A023 #8AD22F

Accessibility & contrast

On white

5.97
#486E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#486E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486E18
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486E18#FFFFFF#000000##FFFFFF
##486E181.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#4A695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #486e18;
/* rgb */ color: rgb(72, 110, 24);
/* oklch */ color: oklch(49.2% 0.121 130.9);
Tailwind
colors: {
  custom: {
    50: '#7f985c',
    500: '#486e18',
    950: '#000000',
  },
}
SCSS
$custom: #486e18;
$custom-light: #7f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#486e18",
  "rgb": {
    "r": 72,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 86.512,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.12054,
    "h": 130.9
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#486E18
secondary
#6B3EA4
accent
#41E78A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486E18

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

Preview Lab → · Contrast checker → · Palette generator →

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