#6B651B#6B651B

#6B651B is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.8% C 0.093 H 104.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6B651B
RGBrgb(107, 101, 27)
HSLhsl(56, 60%, 26%)
HSVhsv(56, 75%, 42%)
CMYKcmyk(0%, 5.6%, 74.8%, 58%)
CIE-LABlab(42.02, -7.05, 40.47)
CIE-LCHlch(42.02, 41.07, 99.88°)
OKLaboklab(49.78% -0.0235 0.0898)
OKLCHoklch(49.78% 0.093 104.6)
XYZxyz(10.9154, 12.5127, 2.8769)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B651B #1B216B
analogous
#6B3D1B #6B651B #496B1B
triadic
#6B651B #1B6B65 #651B6B
tetradic
#6B651B #1B6B3D #1B216B #6B1B49
square
#6B651B #1B6B3D #1B216B #6B1B49
split-complementary
#6B651B #1B496B #3D1B6B
monochromatic
#181706 #3A370F #6B651B #9C9327 #CCC135

Accessibility & contrast

On white

6.00
#6B651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6B651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B651B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B651B#FFFFFF#000000##FFFFFF
##6B651B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610F
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#735E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b651b;
/* rgb */ color: rgb(107, 101, 27);
/* oklch */ color: oklch(49.8% 0.093 104.6);
Tailwind
colors: {
  custom: {
    50: '#98905d',
    500: '#6b651b',
    950: '#000000',
  },
}
SCSS
$custom: #6b651b;
$custom-light: #98905d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b651b",
  "rgb": {
    "r": 107,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 55.5,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.09285,
    "h": 104.6
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#6B651B
secondary
#4249A0
accent
#51E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B651B

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

Preview Lab → · Contrast checker → · Palette generator →

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