#686227#686227

#686227 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.9% C 0.080 H 103.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#686227
RGBrgb(104, 98, 39)
HSLhsl(54, 45%, 28%)
HSVhsv(54, 63%, 41%)
CMYKcmyk(0%, 5.8%, 62.5%, 59.2%)
CIE-LABlab(40.94, -5.94, 33.67)
CIE-LCHlch(40.94, 34.19, 100.00°)
OKLaboklab(48.88% -0.0187 0.0776)
OKLCHoklch(48.88% 0.08 103.5)
XYZxyz(10.4432, 11.8253, 3.6515)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686227 #272D68
analogous
#684127 #686227 #4D6827
triadic
#686227 #276862 #622768
tetradic
#686227 #276841 #272D68 #68274D
square
#686227 #276841 #272D68 #68274D
split-complementary
#686227 #274D68 #412768
monochromatic
#161508 #3B3816 #686227 #958C38 #BCB24D

Accessibility & contrast

On white

6.24
#686227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#686227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686227
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686227#FFFFFF#000000##FFFFFF
##6862271.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F21
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#705C55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #686227;
/* rgb */ color: rgb(104, 98, 39);
/* oklch */ color: oklch(48.9% 0.080 103.5);
Tailwind
colors: {
  custom: {
    50: '#958e64',
    500: '#686227',
    950: '#000000',
  },
}
SCSS
$custom: #686227;
$custom-light: #958e64;
$custom-dark: #000000;
JSON
{
  "hex": "#686227",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 54.462,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.07984,
    "h": 103.5
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#686227
secondary
#50579B
accent
#5FD553
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #686227

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

Preview Lab → · Contrast checker → · Palette generator →

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