#6A6727#6A6727

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

Color values

HEX#6A6727
RGBrgb(106, 103, 39)
HSLhsl(57, 46%, 28%)
HSVhsv(57, 63%, 42%)
CMYKcmyk(0%, 2.8%, 63.2%, 58.4%)
CIE-LABlab(42.63, -7.87, 35.59)
CIE-LCHlch(42.63, 36.45, 102.47°)
OKLaboklab(50.27% -0.0243 0.0817)
OKLCHoklch(50.27% 0.085 106.6)
XYZxyz(11.1607, 12.9115, 3.8233)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6727 #272A6A
analogous
#6A4527 #6A6727 #4B6A27
triadic
#6A6727 #276A67 #67276A
tetradic
#6A6727 #276A45 #272A6A #6A274B
square
#6A6727 #276A45 #272A6A #6A274B
split-complementary
#6A6727 #274B6A #45276A
monochromatic
#161608 #3D3C17 #6A6727 #979237 #BEB94E

Accessibility & contrast

On white

5.86
#6A6727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A6727
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6727#FFFFFF#000000##FFFFFF
##6A67271.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706320
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6727;
/* rgb */ color: rgb(106, 103, 39);
/* oklch */ color: oklch(50.3% 0.085 106.6);
Tailwind
colors: {
  custom: {
    50: '#979264',
    500: '#6a6727',
    950: '#000000',
  },
}
SCSS
$custom: #6a6727;
$custom-light: #979264;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6727",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 57.313,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.08521,
    "h": 106.6
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#6A6727
secondary
#50549D
accent
#58D652
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C05
muted
#7E7D7A

Preview Lab

Preview with #6A6727

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

Preview Lab → · Contrast checker → · Palette generator →

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