#6B642E#6B642E

#6B642E is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.7% C 0.075 H 102.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6B642E
RGBrgb(107, 100, 46)
HSLhsl(53, 40%, 30%)
HSVhsv(53, 57%, 42%)
CMYKcmyk(0%, 6.5%, 57%, 58%)
CIE-LABlab(41.90, -5.08, 31.20)
CIE-LCHlch(41.90, 31.62, 99.25°)
OKLaboklab(49.74% -0.0155 0.0732)
OKLCHoklch(49.74% 0.075 102)
XYZxyz(11.1141, 12.4378, 4.3995)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B642E #2E356B
analogous
#6B462E #6B642E #536B2E
triadic
#6B642E #2E6B64 #642E6B
tetradic
#6B642E #2E6B46 #2E356B #6B2E53
square
#6B642E #2E6B46 #2E356B #6B2E53
split-complementary
#6B642E #2E536B #462E6B
monochromatic
#151409 #403C1C #6B642E #968C40 #B8AE5B

Accessibility & contrast

On white

6.02
#6B642E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6B642E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B642E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B642E#FFFFFF#000000##FFFFFF
##6B642E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6129
Deuteranopia (green-blind)
#6F6431
Tritanopia (blue-blind)
#735E58
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b642e;
/* rgb */ color: rgb(107, 100, 46);
/* oklch */ color: oklch(49.7% 0.075 102.0);
Tailwind
colors: {
  custom: {
    50: '#979068',
    500: '#6b642e',
    950: '#000000',
  },
}
SCSS
$custom: #6b642e;
$custom-light: #979068;
$custom-dark: #000000;
JSON
{
  "hex": "#6b642e",
  "rgb": {
    "r": 107,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 53.115,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.07479,
    "h": 102
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#6B642E
secondary
#58609D
accent
#66D058
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C06
muted
#7E7D7A

Preview Lab

Preview with #6B642E

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

Preview Lab → · Contrast checker → · Palette generator →

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