#6A661B#6A661B

#6A661B is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.094 H 106.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6A661B
RGBrgb(106, 102, 27)
HSLhsl(57, 59%, 26%)
HSVhsv(57, 75%, 42%)
CMYKcmyk(0%, 3.8%, 74.5%, 58.4%)
CIE-LABlab(42.23, -8.10, 40.63)
CIE-LCHlch(42.23, 41.43, 101.27°)
OKLaboklab(49.92% -0.0264 0.0902)
OKLCHoklch(49.92% 0.094 106.3)
XYZxyz(10.8935, 12.6464, 2.9039)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A661B #1B1F6A
analogous
#6A3E1B #6A661B #466A1B
triadic
#6A661B #1B6A66 #661B6A
tetradic
#6A661B #1B6A3E #1B1F6A #6A1B46
square
#6A661B #1B6A3E #1B1F6A #6A1B46
split-complementary
#6A661B #1B466A #3E1B6A
monochromatic
#181706 #39370F #6A661B #9B9527 #CBC434

Accessibility & contrast

On white

5.95
#6A661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6A661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A661B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A661B#FFFFFF#000000##FFFFFF
##6A661B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620E
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#725F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a661b;
/* rgb */ color: rgb(106, 102, 27);
/* oklch */ color: oklch(49.9% 0.094 106.3);
Tailwind
colors: {
  custom: {
    50: '#97915d',
    500: '#6a661b',
    950: '#000000',
  },
}
SCSS
$custom: #6a661b;
$custom-light: #97915d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a661b",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 56.962,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49916,
    "c": 0.094,
    "h": 106.3
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#6A661B
secondary
#42469F
accent
#4DE345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A661B

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

Preview Lab → · Contrast checker → · Palette generator →

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