#6A5C12#6A5C12

#6A5C12 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.5% C 0.090 H 97.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6A5C12
RGBrgb(106, 92, 18)
HSLhsl(50, 71%, 24%)
HSVhsv(50, 83%, 42%)
CMYKcmyk(0%, 13.2%, 83%, 58.4%)
CIE-LABlab(39.18, -2.74, 41.25)
CIE-LCHlch(39.18, 41.34, 93.79°)
OKLaboklab(47.48% -0.0122 0.0896)
OKLCHoklch(47.48% 0.09 97.8)
XYZxyz(9.8807, 10.7627, 2.1291)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5C12 #12206A
analogous
#6A3012 #6A5C12 #4C6A12
triadic
#6A5C12 #126A5C #5C126A
tetradic
#6A5C12 #126A30 #12206A #6A124C
square
#6A5C12 #126A30 #12206A #6A124C
split-complementary
#6A5C12 #124C6A #30126A
monochromatic
#1A1704 #362F09 #6A5C12 #9E891B #D3B724

Accessibility & contrast

On white

6.66
#6A5C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6A5C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5C12
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5C12#FFFFFF#000000##FFFFFF
##6A5C121.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#6A5E17
Tritanopia (blue-blind)
#73544E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a5c12;
/* rgb */ color: rgb(106, 92, 18);
/* oklch */ color: oklch(47.5% 0.090 97.8);
Tailwind
colors: {
  custom: {
    50: '#988957',
    500: '#6a5c12',
    950: '#000000',
  },
}
SCSS
$custom: #6a5c12;
$custom-light: #988957;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5c12",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 50.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.09048,
    "h": 97.8
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#6A5C12
secondary
#3647A2
accent
#57EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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