#6B651F#6B651F

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

Color values

HEX#6B651F
RGBrgb(107, 101, 31)
HSLhsl(55, 55%, 27%)
HSVhsv(55, 71%, 42%)
CMYKcmyk(0%, 5.6%, 71%, 58%)
CIE-LABlab(42.05, -6.81, 38.77)
CIE-LCHlch(42.05, 39.37, 99.97°)
OKLaboklab(49.81% -0.0223 0.087)
OKLCHoklch(49.81% 0.09 104.4)
XYZxyz(10.9648, 12.5325, 3.1375)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B651F #1F256B
analogous
#6B3F1F #6B651F #4B6B1F
triadic
#6B651F #1F6B65 #651F6B
tetradic
#6B651F #1F6B3F #1F256B #6B1F4B
square
#6B651F #1F6B3F #1F256B #6B1F4B
split-complementary
#6B651F #1F4B6B #3F1F6B
monochromatic
#181607 #3C3811 #6B651F #9A922D #C7BC3D

Accessibility & contrast

On white

5.99
#6B651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6B651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B651F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B651F#FFFFFF#000000##FFFFFF
##6B651F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6115
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#735E57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b651f;
/* rgb */ color: rgb(107, 101, 31);
/* oklch */ color: oklch(49.8% 0.090 104.4);
Tailwind
colors: {
  custom: {
    50: '#98905f',
    500: '#6b651f',
    950: '#000000',
  },
}
SCSS
$custom: #6b651f;
$custom-light: #98905f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b651f",
  "rgb": {
    "r": 107,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 55.263,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.08984,
    "h": 104.4
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#6B651F
secondary
#474E9F
accent
#55DE49
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B651F

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

Preview Lab → · Contrast checker → · Palette generator →

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