#6A6512#6A6512

#6A6512 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.6% C 0.099 H 105.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6A6512
RGBrgb(106, 101, 18)
HSLhsl(57, 71%, 24%)
HSVhsv(57, 83%, 42%)
CMYKcmyk(0%, 4.7%, 83%, 58.4%)
CIE-LABlab(41.87, -7.96, 43.66)
CIE-LCHlch(41.87, 44.38, 100.33°)
OKLaboklab(49.61% -0.0269 0.0948)
OKLCHoklch(49.61% 0.099 105.8)
XYZxyz(10.7072, 12.4156, 2.4046)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6512 #12176A
analogous
#6A3912 #6A6512 #436A12
triadic
#6A6512 #126A65 #65126A
tetradic
#6A6512 #126A39 #12176A #6A1243
square
#6A6512 #126A39 #12176A #6A1243
split-complementary
#6A6512 #12436A #39126A
monochromatic
#1A1904 #363309 #6A6512 #9E971B #D3C924

Accessibility & contrast

On white

6.03
#6A6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6512
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6512#FFFFFF#000000##FFFFFF
##6A65121.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#735E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a6512;
/* rgb */ color: rgb(106, 101, 18);
/* oklch */ color: oklch(49.6% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#989058',
    500: '#6a6512',
    950: '#000000',
  },
}
SCSS
$custom: #6a6512;
$custom-light: #989058;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6512",
  "rgb": {
    "r": 106,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 56.591,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49615,
    "c": 0.09856,
    "h": 105.8
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#6A6512
secondary
#363CA2
accent
#44EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6512

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

Preview Lab → · Contrast checker → · Palette generator →

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