#6C681A#6C681A

#6C681A is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.096 H 106.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6C681A
RGBrgb(108, 104, 26)
HSLhsl(57, 61%, 26%)
HSVhsv(57, 76%, 42%)
CMYKcmyk(0%, 3.7%, 75.9%, 57.6%)
CIE-LABlab(43.01, -8.34, 41.86)
CIE-LCHlch(43.01, 42.69, 101.26°)
OKLaboklab(50.58% -0.0273 0.0925)
OKLCHoklch(50.58% 0.096 106.4)
XYZxyz(11.3216, 13.1638, 2.9216)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C681A #1A1E6C
analogous
#6C3F1A #6C681A #476C1A
triadic
#6C681A #1A6C68 #681A6C
tetradic
#6C681A #1A6C3F #1A1E6C #6C1A47
square
#6C681A #1A6C3F #1A1E6C #6C1A47
split-complementary
#6C681A #1A476C #3F1A6C
monochromatic
#191806 #3B390E #6C681A #9D9826 #CEC633

Accessibility & contrast

On white

5.78
#6C681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6C681A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C681A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C681A#FFFFFF#000000##FFFFFF
##6C681A1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640C
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#746159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c681a;
/* rgb */ color: rgb(108, 104, 26);
/* oklch */ color: oklch(50.6% 0.096 106.4);
Tailwind
colors: {
  custom: {
    50: '#99925d',
    500: '#6c681a',
    950: '#000000',
  },
}
SCSS
$custom: #6c681a;
$custom-light: #99925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c681a",
  "rgb": {
    "r": 108,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 57.073,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.09648,
    "h": 106.4
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#6C681A
secondary
#4145A1
accent
#4BE443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6C681A

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

Preview Lab → · Contrast checker → · Palette generator →

#6C681A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva