#6A6810#6A6810

#6A6810 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.3% C 0.103 H 108.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6A6810
RGBrgb(106, 104, 16)
HSLhsl(59, 74%, 24%)
HSVhsv(59, 85%, 42%)
CMYKcmyk(0%, 1.9%, 84.9%, 58.4%)
CIE-LABlab(42.77, -9.73, 45.08)
CIE-LCHlch(42.77, 46.12, 102.18°)
OKLaboklab(50.33% -0.032 0.0975)
OKLCHoklch(50.33% 0.103 108.2)
XYZxyz(10.9881, 13.0026, 2.4211)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6810 #10126A
analogous
#6A3B10 #6A6810 #3F6A10
triadic
#6A6810 #106A68 #68106A
tetradic
#6A6810 #106A3B #10126A #6A103F
square
#6A6810 #106A3B #10126A #6A103F
split-complementary
#6A6810 #103F6A #3B106A
monochromatic
#1B1A04 #353408 #6A6810 #9F9C18 #D4D020

Accessibility & contrast

On white

5.83
#6A6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6A6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6810
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6810#FFFFFF#000000##FFFFFF
##6A68101.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#736618
Tritanopia (blue-blind)
#726158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6810;
/* rgb */ color: rgb(106, 104, 16);
/* oklch */ color: oklch(50.3% 0.103 108.2);
Tailwind
colors: {
  custom: {
    50: '#989258',
    500: '#6a6810',
    950: '#000000',
  },
}
SCSS
$custom: #6a6810;
$custom-light: #989258;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6810",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 58.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.10258,
    "h": 108.2
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#6A6810
secondary
#3436A2
accent
#3BF037
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6810

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

Preview Lab → · Contrast checker → · Palette generator →

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