#6A6731#6A6731

#6A6731 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.4% C 0.075 H 105.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6A6731
RGBrgb(106, 103, 49)
HSLhsl(57, 37%, 30%)
HSVhsv(57, 54%, 42%)
CMYKcmyk(0%, 2.8%, 53.8%, 58.4%)
CIE-LABlab(42.74, -6.99, 30.56)
CIE-LCHlch(42.74, 31.35, 102.89°)
OKLaboklab(50.4% -0.0206 0.0721)
OKLCHoklch(50.4% 0.075 105.9)
XYZxyz(11.3488, 12.9867, 4.8140)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6731 #31346A
analogous
#6A4A31 #6A6731 #506A31
triadic
#6A6731 #316A67 #67316A
tetradic
#6A6731 #316A4A #31346A #6A3150
square
#6A6731 #316A4A #31346A #6A3150
split-complementary
#6A6731 #31506A #4A316A
monochromatic
#16160A #403E1E #6A6731 #949044 #B5B160

Accessibility & contrast

On white

5.84
#6A6731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6A6731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6731
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6731#FFFFFF#000000##FFFFFF
##6A67311.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642C
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#71615B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6731;
/* rgb */ color: rgb(106, 103, 49);
/* oklch */ color: oklch(50.4% 0.075 105.9);
Tailwind
colors: {
  custom: {
    50: '#96926b',
    500: '#6a6731',
    950: '#000000',
  },
}
SCSS
$custom: #6a6731;
$custom-light: #96926b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6731",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 56.842,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.07499,
    "h": 105.9
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#6A6731
secondary
#5C5F9B
accent
#61CD5B
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #6A6731

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

Preview Lab → · Contrast checker → · Palette generator →

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