#6A6211#6A6211

#6A6211 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.9% C 0.096 H 103.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6A6211
RGBrgb(106, 98, 17)
HSLhsl(55, 72%, 24%)
HSVhsv(55, 84%, 42%)
CMYKcmyk(0%, 7.5%, 84%, 58.4%)
CIE-LABlab(40.96, -6.27, 43.19)
CIE-LCHlch(40.96, 43.64, 98.27°)
OKLaboklab(48.89% -0.0223 0.0936)
OKLCHoklch(48.89% 0.096 103.4)
XYZxyz(10.4132, 11.8405, 2.2671)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6211 #11196A
analogous
#6A3611 #6A6211 #466A11
triadic
#6A6211 #116A62 #62116A
tetradic
#6A6211 #116A36 #11196A #6A1146
square
#6A6211 #116A36 #11196A #6A1146
split-complementary
#6A6211 #11466A #36116A
monochromatic
#1A1804 #353109 #6A6211 #9F9319 #D3C422

Accessibility & contrast

On white

6.24
#6A6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6211
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6211#FFFFFF#000000##FFFFFF
##6A62111.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#735A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6211;
/* rgb */ color: rgb(106, 98, 17);
/* oklch */ color: oklch(48.9% 0.096 103.4);
Tailwind
colors: {
  custom: {
    50: '#988e58',
    500: '#6a6211',
    950: '#000000',
  },
}
SCSS
$custom: #6a6211;
$custom-light: #988e58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6211",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 54.607,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.0962,
    "h": 103.4
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#6A6211
secondary
#353FA2
accent
#49EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6211

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

Preview Lab → · Contrast checker → · Palette generator →

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