#486226#486226

#486226 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.092 H 129.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#486226
RGBrgb(72, 98, 38)
HSLhsl(86, 44%, 27%)
HSVhsv(86, 61%, 38%)
CMYKcmyk(26.5%, 0%, 61.2%, 61.6%)
CIE-LABlab(38.29, -20.61, 30.49)
CIE-LCHlch(38.29, 36.80, 124.07°)
OKLaboklab(46.1% -0.0579 0.0713)
OKLCHoklch(46.1% 0.092 129.1)
XYZxyz(7.3900, 10.2529, 3.4230)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486226 #402662
analogous
#625E26 #486226 #2A6226
triadic
#486226 #264862 #622648
tetradic
#486226 #26625E #402662 #62262A
square
#486226 #26625E #402662 #62262A
split-complementary
#486226 #262A62 #5E2662
monochromatic
#101609 #283615 #486226 #688E37 #89B94A

Accessibility & contrast

On white

6.88
#486226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#486226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486226
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486226#FFFFFF#000000##FFFFFF
##4862261.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B20
Deuteranopia (green-blind)
#635A2A
Tritanopia (blue-blind)
#4A5E55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #486226;
/* rgb */ color: rgb(72, 98, 38);
/* oklch */ color: oklch(46.1% 0.092 129.1);
Tailwind
colors: {
  custom: {
    50: '#7d8e63',
    500: '#486226',
    950: '#000000',
  },
}
SCSS
$custom: #486226;
$custom-light: #7d8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#486226",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 86,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.09185,
    "h": 129.1
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#486226
secondary
#6D4F95
accent
#54D48B
background
#F7F8F5
surface
#EEF0EA
border
#C9CBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #486226

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

Preview Lab → · Contrast checker → · Palette generator →

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