#6B671E#6B671E

#6B671E is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.3% C 0.093 H 106.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6B671E
RGBrgb(107, 103, 30)
HSLhsl(57, 56%, 27%)
HSVhsv(57, 72%, 42%)
CMYKcmyk(0%, 3.7%, 72%, 58%)
CIE-LABlab(42.64, -8.02, 39.81)
CIE-LCHlch(42.64, 40.61, 101.39°)
OKLaboklab(50.28% -0.0259 0.089)
OKLCHoklch(50.28% 0.093 106.2)
XYZxyz(11.1484, 12.9204, 3.1347)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B671E #1E226B
analogous
#6B411E #6B671E #496B1E
triadic
#6B671E #1E6B67 #671E6B
tetradic
#6B671E #1E6B41 #1E226B #6B1E49
square
#6B671E #1E6B41 #1E226B #6B1E49
split-complementary
#6B671E #1E496B #411E6B
monochromatic
#181707 #3B3911 #6B671E #9B952B #C8C13B

Accessibility & contrast

On white

5.86
#6B671E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6B671E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B671E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B671E#FFFFFF#000000##FFFFFF
##6B671E1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706313
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#736058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b671e;
/* rgb */ color: rgb(107, 103, 30);
/* oklch */ color: oklch(50.3% 0.093 106.2);
Tailwind
colors: {
  custom: {
    50: '#98925f',
    500: '#6b671e',
    950: '#000000',
  },
}
SCSS
$custom: #6b671e;
$custom-light: #98925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b671e",
  "rgb": {
    "r": 107,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 56.883,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.09271,
    "h": 106.2
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#6B671E
secondary
#454A9F
accent
#50DF48
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B671E

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

Preview Lab → · Contrast checker → · Palette generator →

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