#486918#486918

#486918 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.114 H 129.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#486918
RGBrgb(72, 105, 24)
HSLhsl(84, 63%, 25%)
HSVhsv(84, 77%, 41%)
CMYKcmyk(31.4%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.49, -25.37, 39.23)
CIE-LCHlch(40.49, 46.72, 122.89°)
OKLaboklab(47.84% -0.0723 0.0878)
OKLCHoklch(47.84% 0.114 129.5)
XYZxyz(7.8889, 11.5466, 2.6770)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486918 #391869
analogous
#696118 #486918 #206918
triadic
#486918 #184869 #691848
tetradic
#486918 #186961 #391869 #691820
square
#486918 #186961 #391869 #691820
split-complementary
#486918 #182069 #611869
monochromatic
#111906 #26370D #486918 #6A9B23 #8CCD2F

Accessibility & contrast

On white

6.35
#486918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#486918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486918
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486918#FFFFFF#000000##FFFFFF
##4869181.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#4A6459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #486918;
/* rgb */ color: rgb(72, 105, 24);
/* oklch */ color: oklch(47.8% 0.114 129.5);
Tailwind
colors: {
  custom: {
    50: '#7e945b',
    500: '#486918',
    950: '#000000',
  },
}
SCSS
$custom: #486918;
$custom-light: #7e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#486918",
  "rgb": {
    "r": 72,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 84.444,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.11369,
    "h": 129.5
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#486918
secondary
#653E9F
accent
#42E685
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486918

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

Preview Lab → · Contrast checker → · Palette generator →

#486918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva