#6A6210#6A6210

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

Color values

HEX#6A6210
RGBrgb(106, 98, 16)
HSLhsl(55, 74%, 24%)
HSVhsv(55, 85%, 42%)
CMYKcmyk(0%, 7.5%, 84.9%, 58.4%)
CIE-LABlab(40.96, -6.31, 43.51)
CIE-LCHlch(40.96, 43.96, 98.25°)
OKLaboklab(48.89% -0.0225 0.0941)
OKLCHoklch(48.89% 0.097 103.4)
XYZxyz(10.4056, 11.8374, 2.2269)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6210 #10186A
analogous
#6A3510 #6A6210 #456A10
triadic
#6A6210 #106A62 #62106A
tetradic
#6A6210 #106A35 #10186A #6A1045
square
#6A6210 #106A35 #10186A #6A1045
split-complementary
#6A6210 #10456A #35106A
monochromatic
#1B1904 #353108 #6A6210 #9F9318 #D4C420

Accessibility & contrast

On white

6.24
#6A6210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A6210
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6210#FFFFFF#000000##FFFFFF
##6A62101.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a6210;
/* rgb */ color: rgb(106, 98, 16);
/* oklch */ color: oklch(48.9% 0.097 103.4);
Tailwind
colors: {
  custom: {
    50: '#988e57',
    500: '#6a6210',
    950: '#000000',
  },
}
SCSS
$custom: #6a6210;
$custom-light: #988e57;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6210",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 54.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.0967,
    "h": 103.4
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#6A6210
secondary
#343EA2
accent
#48F037
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C03
muted
#7E7D78

Preview Lab

Preview with #6A6210

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

Preview Lab → · Contrast checker → · Palette generator →

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