#6E661B#6E661B

#6E661B is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.3% C 0.094 H 103.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6E661B
RGBrgb(110, 102, 27)
HSLhsl(54, 61%, 27%)
HSVhsv(54, 75%, 43%)
CMYKcmyk(0%, 7.3%, 75.5%, 56.9%)
CIE-LABlab(42.61, -6.18, 41.14)
CIE-LCHlch(42.61, 41.60, 98.55°)
OKLaboklab(50.31% -0.0212 0.0911)
OKLCHoklch(50.31% 0.094 103.1)
XYZxyz(11.3801, 12.8973, 2.9267)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E661B #1B236E
analogous
#6E3D1B #6E661B #4D6E1B
triadic
#6E661B #1B6E66 #661B6E
tetradic
#6E661B #1B6E3D #1B236E #6E1B4D
square
#6E661B #1B6E3D #1B236E #6E1B4D
split-complementary
#6E661B #1B4D6E #3D1B6E
monochromatic
#191706 #3D380F #6E661B #9F9427 #CEBF36

Accessibility & contrast

On white

5.87
#6E661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6E661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E661B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E661B#FFFFFF#000000##FFFFFF
##6E661B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620E
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#775E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e661b;
/* rgb */ color: rgb(110, 102, 27);
/* oklch */ color: oklch(50.3% 0.094 103.1);
Tailwind
colors: {
  custom: {
    50: '#9a915d',
    500: '#6e661b',
    950: '#000000',
  },
}
SCSS
$custom: #6e661b;
$custom-light: #9a915d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e661b",
  "rgb": {
    "r": 110,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 54.217,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.09358,
    "h": 103.1
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#6E661B
secondary
#424BA3
accent
#53E444
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E661B

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

Preview Lab → · Contrast checker → · Palette generator →

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