#6A5A12#6A5A12

#6A5A12 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 47.0% C 0.089 H 95.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6A5A12
RGBrgb(106, 90, 18)
HSLhsl(49, 71%, 24%)
HSVhsv(49, 83%, 42%)
CMYKcmyk(0%, 15.1%, 83%, 58.4%)
CIE-LABlab(38.59, -1.55, 40.72)
CIE-LCHlch(38.59, 40.75, 92.18°)
OKLaboklab(47.01% -0.0089 0.0885)
OKLCHoklch(47.01% 0.089 95.7)
XYZxyz(9.7097, 10.4207, 2.0721)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5A12 #12226A
analogous
#6A2E12 #6A5A12 #4E6A12
triadic
#6A5A12 #126A5A #5A126A
tetradic
#6A5A12 #126A2E #12226A #6A124E
square
#6A5A12 #126A2E #12226A #6A124E
split-complementary
#6A5A12 #124E6A #2E126A
monochromatic
#1A1604 #362E09 #6A5A12 #9E861B #D3B324

Accessibility & contrast

On white

6.81
#6A5A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6A5A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5A12
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5A12#FFFFFF#000000##FFFFFF
##6A5A121.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645803
Deuteranopia (green-blind)
#685D17
Tritanopia (blue-blind)
#73524C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a5a12;
/* rgb */ color: rgb(106, 90, 18);
/* oklch */ color: oklch(47.0% 0.089 95.7);
Tailwind
colors: {
  custom: {
    50: '#988857',
    500: '#6a5a12',
    950: '#000000',
  },
}
SCSS
$custom: #6a5a12;
$custom-light: #988857;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5a12",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 49.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47009,
    "c": 0.08894,
    "h": 95.7
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#6A5A12
secondary
#364AA2
accent
#5BEE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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