#6B641F#6B641F

#6B641F is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.6% C 0.089 H 103.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6B641F
RGBrgb(107, 100, 31)
HSLhsl(54, 55%, 27%)
HSVhsv(54, 71%, 42%)
CMYKcmyk(0%, 6.5%, 71%, 58%)
CIE-LABlab(41.75, -6.24, 38.47)
CIE-LCHlch(41.75, 38.97, 99.21°)
OKLaboklab(49.57% -0.0207 0.0864)
OKLCHoklch(49.57% 0.089 103.5)
XYZxyz(10.8683, 12.3395, 3.1053)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B641F #1F266B
analogous
#6B3E1F #6B641F #4C6B1F
triadic
#6B641F #1F6B64 #641F6B
tetradic
#6B641F #1F6B3E #1F266B #6B1F4C
square
#6B641F #1F6B3E #1F266B #6B1F4C
split-complementary
#6B641F #1F4C6B #3E1F6B
monochromatic
#181607 #3C3811 #6B641F #9A902D #C7BA3D

Accessibility & contrast

On white

6.06
#6B641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6B641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B641F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B641F#FFFFFF#000000##FFFFFF
##6B641F1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6115
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#735D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b641f;
/* rgb */ color: rgb(107, 100, 31);
/* oklch */ color: oklch(49.6% 0.089 103.5);
Tailwind
colors: {
  custom: {
    50: '#988f5f',
    500: '#6b641f',
    950: '#000000',
  },
}
SCSS
$custom: #6b641f;
$custom-light: #988f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b641f",
  "rgb": {
    "r": 107,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 54.474,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49571,
    "c": 0.08883,
    "h": 103.5
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#6B641F
secondary
#474F9F
accent
#57DE49
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B641F

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

Preview Lab → · Contrast checker → · Palette generator →

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