#6A641B#6A641B

#6A641B is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.4% C 0.092 H 104.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6A641B
RGBrgb(106, 100, 27)
HSLhsl(55, 59%, 26%)
HSVhsv(55, 75%, 42%)
CMYKcmyk(0%, 5.7%, 74.5%, 58.4%)
CIE-LABlab(41.62, -6.96, 40.04)
CIE-LCHlch(41.62, 40.64, 99.85°)
OKLaboklab(49.44% -0.0231 0.089)
OKLCHoklch(49.44% 0.092 104.6)
XYZxyz(10.6993, 12.2581, 2.8392)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A641B #1B216A
analogous
#6A3C1B #6A641B #486A1B
triadic
#6A641B #1B6A64 #641B6A
tetradic
#6A641B #1B6A3C #1B216A #6A1B48
square
#6A641B #1B6A3C #1B216A #6A1B48
split-complementary
#6A641B #1B486A #3C1B6A
monochromatic
#181706 #39360F #6A641B #9B9227 #CBC034

Accessibility & contrast

On white

6.08
#6A641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A641B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A641B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A641B#FFFFFF#000000##FFFFFF
##6A641B1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600F
Deuteranopia (green-blind)
#6F6420
Tritanopia (blue-blind)
#725D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a641b;
/* rgb */ color: rgb(106, 100, 27);
/* oklch */ color: oklch(49.4% 0.092 104.6);
Tailwind
colors: {
  custom: {
    50: '#978f5d',
    500: '#6a641b',
    950: '#000000',
  },
}
SCSS
$custom: #6a641b;
$custom-light: #978f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a641b",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 55.443,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.09194,
    "h": 104.6
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#6A641B
secondary
#42499F
accent
#51E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A641B

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

Preview Lab → · Contrast checker → · Palette generator →

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