#486820#486820

#486820 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.106 H 130.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#486820
RGBrgb(72, 104, 32)
HSLhsl(87, 53%, 27%)
HSVhsv(87, 69%, 41%)
CMYKcmyk(30.8%, 0%, 69.2%, 59.2%)
CIE-LABlab(40.22, -24.26, 35.54)
CIE-LCHlch(40.22, 43.03, 124.32°)
OKLaboklab(47.64% -0.0685 0.0813)
OKLCHoklch(47.64% 0.106 130.1)
XYZxyz(7.8835, 11.3824, 3.1479)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486820 #402068
analogous
#686420 #486820 #246820
triadic
#486820 #204868 #682048
tetradic
#486820 #206864 #402068 #682024
square
#486820 #206864 #402068 #682024
split-complementary
#486820 #202468 #642068
monochromatic
#101707 #283912 #486820 #68972E #89C43F

Accessibility & contrast

On white

6.41
#486820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#486820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486820
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486820#FFFFFF#000000##FFFFFF
##4868201.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#4A6359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #486820;
/* rgb */ color: rgb(72, 104, 32);
/* oklch */ color: oklch(47.6% 0.106 130.1);
Tailwind
colors: {
  custom: {
    50: '#7e935f',
    500: '#486820',
    950: '#000000',
  },
}
SCSS
$custom: #486820;
$custom-light: #7e935f;
$custom-dark: #000000;
JSON
{
  "hex": "#486820",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 86.667,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.1063,
    "h": 130.1
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#486820
secondary
#6D489C
accent
#4BDC8C
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #486820

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

Preview Lab → · Contrast checker → · Palette generator →

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