#6A6311#6A6311

#6A6311 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.1% C 0.097 H 104.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6A6311
RGBrgb(106, 99, 17)
HSLhsl(55, 72%, 24%)
HSVhsv(55, 84%, 42%)
CMYKcmyk(0%, 6.6%, 84%, 58.4%)
CIE-LABlab(41.26, -6.85, 43.45)
CIE-LCHlch(41.26, 43.99, 98.96°)
OKLaboklab(49.13% -0.0239 0.0942)
OKLCHoklch(49.13% 0.097 104.2)
XYZxyz(10.5074, 12.0288, 2.2985)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6311 #11186A
analogous
#6A3711 #6A6311 #456A11
triadic
#6A6311 #116A63 #63116A
tetradic
#6A6311 #116A37 #11186A #6A1145
square
#6A6311 #116A37 #11186A #6A1145
split-complementary
#6A6311 #11456A #37116A
monochromatic
#1A1904 #353209 #6A6311 #9F9419 #D3C622

Accessibility & contrast

On white

6.17
#6A6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6A6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6311
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6311#FFFFFF#000000##FFFFFF
##6A63111.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6F6318
Tritanopia (blue-blind)
#735B54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6311;
/* rgb */ color: rgb(106, 99, 17);
/* oklch */ color: oklch(49.1% 0.097 104.2);
Tailwind
colors: {
  custom: {
    50: '#988f58',
    500: '#6a6311',
    950: '#000000',
  },
}
SCSS
$custom: #6a6311;
$custom-light: #988f58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6311",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 55.281,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.09714,
    "h": 104.2
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#6A6311
secondary
#353EA2
accent
#47EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6311

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

Preview Lab → · Contrast checker → · Palette generator →

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