#6A6914#6A6914

#6A6914 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.102 H 108.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6A6914
RGBrgb(106, 105, 20)
HSLhsl(59, 68%, 25%)
HSVhsv(59, 81%, 42%)
CMYKcmyk(0%, 0.9%, 81.1%, 58.4%)
CIE-LABlab(43.09, -10.14, 44.09)
CIE-LCHlch(43.09, 45.24, 102.95°)
OKLaboklab(50.59% -0.0328 0.0961)
OKLCHoklch(50.59% 0.102 108.8)
XYZxyz(11.1221, 13.2182, 2.6272)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6914 #14156A
analogous
#6A3E14 #6A6914 #406A14
triadic
#6A6914 #146A69 #69146A
tetradic
#6A6914 #146A3E #14156A #6A1440
square
#6A6914 #146A3E #14156A #6A1440
split-complementary
#6A6914 #14406A #3E146A
monochromatic
#1A1905 #37360A #6A6914 #9D9C1E #D1CF27

Accessibility & contrast

On white

5.76
#6A6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6A6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6914
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6914#FFFFFF#000000##FFFFFF
##6A69141.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#726259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6914;
/* rgb */ color: rgb(106, 105, 20);
/* oklch */ color: oklch(50.6% 0.102 108.8);
Tailwind
colors: {
  custom: {
    50: '#98935a',
    500: '#6a6914',
    950: '#000000',
  },
}
SCSS
$custom: #6a6914;
$custom-light: #98935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6914",
  "rgb": {
    "r": 106,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 59.302,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.10158,
    "h": 108.8
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#6A6914
secondary
#393AA1
accent
#3FEB3D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6914

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

Preview Lab → · Contrast checker → · Palette generator →

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