#6B681F#6B681F

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

Color values

HEX#6B681F
RGBrgb(107, 104, 31)
HSLhsl(58, 55%, 27%)
HSVhsv(58, 71%, 42%)
CMYKcmyk(0%, 2.8%, 71%, 58%)
CIE-LABlab(42.95, -8.53, 39.69)
CIE-LCHlch(42.95, 40.59, 102.12°)
OKLaboklab(50.53% -0.0272 0.089)
OKLCHoklch(50.53% 0.093 107)
XYZxyz(11.2615, 13.1257, 3.2364)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B681F #1F226B
analogous
#6B421F #6B681F #486B1F
triadic
#6B681F #1F6B68 #681F6B
tetradic
#6B681F #1F6B42 #1F226B #6B1F48
square
#6B681F #1F6B42 #1F226B #6B1F48
split-complementary
#6B681F #1F486B #421F6B
monochromatic
#181707 #3C3A11 #6B681F #9A962D #C7C23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B681F#FFFFFF#000000##FFFFFF
##6B681F1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b681f;
/* rgb */ color: rgb(107, 104, 31);
/* oklch */ color: oklch(50.5% 0.093 107.0);
Tailwind
colors: {
  custom: {
    50: '#98925f',
    500: '#6b681f',
    950: '#000000',
  },
}
SCSS
$custom: #6b681f;
$custom-light: #98925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b681f",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 57.632,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.09302,
    "h": 107
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#6B681F
secondary
#474A9F
accent
#4FDE49
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0D05
muted
#7E7D79

Preview Lab

Preview with #6B681F

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

Preview Lab → · Contrast checker → · Palette generator →

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