#6B681E#6B681E

#6B681E is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.094 H 107.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6B681E
RGBrgb(107, 104, 30)
HSLhsl(58, 56%, 27%)
HSVhsv(58, 72%, 42%)
CMYKcmyk(0%, 2.8%, 72%, 58%)
CIE-LABlab(42.94, -8.59, 40.11)
CIE-LCHlch(42.94, 41.02, 102.08°)
OKLaboklab(50.52% -0.0275 0.0897)
OKLCHoklch(50.52% 0.094 107)
XYZxyz(11.2485, 13.1205, 3.1680)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B681E #1E216B
analogous
#6B421E #6B681E #486B1E
triadic
#6B681E #1E6B68 #681E6B
tetradic
#6B681E #1E6B42 #1E216B #6B1E48
square
#6B681E #1E6B42 #1E216B #6B1E48
split-complementary
#6B681E #1E486B #421E6B
monochromatic
#181707 #3B3A11 #6B681E #9B962B #C8C33B

Accessibility & contrast

On white

5.79
#6B681E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B681E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B681E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B681E#FFFFFF#000000##FFFFFF
##6B681E1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716413
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#736159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b681e;
/* rgb */ color: rgb(107, 104, 30);
/* oklch */ color: oklch(50.5% 0.094 107.0);
Tailwind
colors: {
  custom: {
    50: '#98925f',
    500: '#6b681e',
    950: '#000000',
  },
}
SCSS
$custom: #6b681e;
$custom-light: #98925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b681e",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 57.662,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.09378,
    "h": 107
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#6B681E
secondary
#45499F
accent
#4EDF48
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D05
muted
#7E7D79

Preview Lab

Preview with #6B681E

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

Preview Lab → · Contrast checker → · Palette generator →

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