#6A6726#6A6726

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

Color values

HEX#6A6726
RGBrgb(106, 103, 38)
HSLhsl(57, 47%, 28%)
HSVhsv(57, 64%, 42%)
CMYKcmyk(0%, 2.8%, 64.2%, 58.4%)
CIE-LABlab(42.62, -7.95, 36.07)
CIE-LCHlch(42.62, 36.94, 102.43°)
OKLaboklab(50.26% -0.0246 0.0825)
OKLCHoklch(50.26% 0.086 106.6)
XYZxyz(11.1443, 12.9050, 3.7372)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6726 #26296A
analogous
#6A4526 #6A6726 #4B6A26
triadic
#6A6726 #266A67 #67266A
tetradic
#6A6726 #266A45 #26296A #6A264B
square
#6A6726 #266A45 #26296A #6A264B
split-complementary
#6A6726 #264B6A #45266A
monochromatic
#171608 #3D3B16 #6A6726 #979336 #BFBA4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6726#FFFFFF#000000##FFFFFF
##6A67261.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)
#70631E
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6726;
/* rgb */ color: rgb(106, 103, 38);
/* oklch */ color: oklch(50.3% 0.086 106.6);
Tailwind
colors: {
  custom: {
    50: '#979263',
    500: '#6a6726',
    950: '#000000',
  },
}
SCSS
$custom: #6a6726;
$custom-light: #979263;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6726",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 38
  },
  "hsl": {
    "h": 57.353,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.08613,
    "h": 106.6
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#6A6726
secondary
#4F529D
accent
#57D751
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C05
muted
#7E7D7A

Preview Lab

Preview with #6A6726

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

Preview Lab → · Contrast checker → · Palette generator →

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