#486812#486812

#486812 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.5% C 0.116 H 128.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#486812
RGBrgb(72, 104, 18)
HSLhsl(82, 70%, 24%)
HSVhsv(82, 83%, 41%)
CMYKcmyk(30.8%, 0%, 82.7%, 59.2%)
CIE-LABlab(40.12, -25.24, 41.07)
CIE-LCHlch(40.12, 48.20, 121.57°)
OKLaboklab(47.53% -0.0724 0.0906)
OKLCHoklch(47.53% 0.116 128.6)
XYZxyz(7.7320, 11.3218, 2.3501)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486812 #321268
analogous
#685D12 #486812 #1D6812
triadic
#486812 #124868 #681248
tetradic
#486812 #12685D #321268 #68121D
square
#486812 #12685D #321268 #68121D
split-complementary
#486812 #121D68 #5D1268
monochromatic
#121A05 #243409 #486812 #6C9C1B #90D024

Accessibility & contrast

On white

6.43
#486812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#486812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486812
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486812#FFFFFF#000000##FFFFFF
##4868121.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#4B6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #486812;
/* rgb */ color: rgb(72, 104, 18);
/* oklch */ color: oklch(47.5% 0.116 128.6);
Tailwind
colors: {
  custom: {
    50: '#7e9358',
    500: '#486812',
    950: '#000000',
  },
}
SCSS
$custom: #486812;
$custom-light: #7e9358;
$custom-dark: #000000;
JSON
{
  "hex": "#486812",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 82.326,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.11595,
    "h": 128.6
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#486812
secondary
#5D36A0
accent
#3BED7D
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486812

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

Preview Lab → · Contrast checker → · Palette generator →

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