#6A6214#6A6214

#6A6214 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.9% C 0.095 H 103.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6A6214
RGBrgb(106, 98, 20)
HSLhsl(54, 68%, 25%)
HSVhsv(54, 81%, 42%)
CMYKcmyk(0%, 7.5%, 81.1%, 58.4%)
CIE-LABlab(40.98, -6.15, 42.17)
CIE-LCHlch(40.98, 42.61, 98.30°)
OKLaboklab(48.91% -0.0216 0.092)
OKLCHoklch(48.91% 0.095 103.2)
XYZxyz(10.4383, 11.8505, 2.3992)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6214 #141C6A
analogous
#6A3714 #6A6214 #476A14
triadic
#6A6214 #146A62 #62146A
tetradic
#6A6214 #146A37 #141C6A #6A1447
square
#6A6214 #146A37 #141C6A #6A1447
split-complementary
#6A6214 #14476A #37146A
monochromatic
#1A1805 #37320A #6A6214 #9D921E #D1C127

Accessibility & contrast

On white

6.23
#6A6214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A6214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6214
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6214#FFFFFF#000000##FFFFFF
##6A62141.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#735A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6214;
/* rgb */ color: rgb(106, 98, 20);
/* oklch */ color: oklch(48.9% 0.095 103.2);
Tailwind
colors: {
  custom: {
    50: '#988e59',
    500: '#6a6214',
    950: '#000000',
  },
}
SCSS
$custom: #6a6214;
$custom-light: #988e59;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6214",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 54.419,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.09455,
    "h": 103.2
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#6A6214
secondary
#3943A1
accent
#4DEB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6214

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

Preview Lab → · Contrast checker → · Palette generator →

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