#6A6720#6A6720

#6A6720 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.091 H 106.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6A6720
RGBrgb(106, 103, 32)
HSLhsl(58, 54%, 27%)
HSVhsv(58, 70%, 42%)
CMYKcmyk(0%, 2.8%, 69.8%, 58.4%)
CIE-LABlab(42.57, -8.37, 38.82)
CIE-LCHlch(42.57, 39.71, 102.17°)
OKLaboklab(50.2% -0.0266 0.0874)
OKLCHoklch(50.2% 0.091 106.9)
XYZxyz(11.0552, 12.8693, 3.2679)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6720 #20236A
analogous
#6A4220 #6A6720 #486A20
triadic
#6A6720 #206A67 #67206A
tetradic
#6A6720 #206A42 #20236A #6A2048
square
#6A6720 #206A42 #20236A #6A2048
split-complementary
#6A6720 #20486A #42206A
monochromatic
#181707 #3B3912 #6A6720 #99952E #C5C03F

Accessibility & contrast

On white

5.88
#6A6720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A6720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6720
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6720#FFFFFF#000000##FFFFFF
##6A67201.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706316
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6720;
/* rgb */ color: rgb(106, 103, 32);
/* oklch */ color: oklch(50.2% 0.091 106.9);
Tailwind
colors: {
  custom: {
    50: '#979260',
    500: '#6a6720',
    950: '#000000',
  },
}
SCSS
$custom: #6a6720;
$custom-light: #979260;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6720",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 57.568,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.502,
    "c": 0.0913,
    "h": 106.9
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#6A6720
secondary
#484B9E
accent
#51DD4B
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A6720

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

Preview Lab → · Contrast checker → · Palette generator →

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