#6A6212#6A6212

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

Color values

HEX#6A6212
RGBrgb(106, 98, 18)
HSLhsl(55, 71%, 24%)
HSVhsv(55, 83%, 42%)
CMYKcmyk(0%, 7.5%, 83%, 58.4%)
CIE-LABlab(40.97, -6.23, 42.86)
CIE-LCHlch(40.97, 43.31, 98.28°)
OKLaboklab(48.9% -0.0221 0.0931)
OKLCHoklch(48.9% 0.096 103.3)
XYZxyz(10.4212, 11.8437, 2.3093)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6212 #121A6A
analogous
#6A3612 #6A6212 #466A12
triadic
#6A6212 #126A62 #62126A
tetradic
#6A6212 #126A36 #121A6A #6A1246
square
#6A6212 #126A36 #121A6A #6A1246
split-complementary
#6A6212 #12466A #36126A
monochromatic
#1A1804 #363209 #6A6212 #9E921B #D3C324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6212#FFFFFF#000000##FFFFFF
##6A62121.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)
#6C5E00
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#735A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6212;
/* rgb */ color: rgb(106, 98, 18);
/* oklch */ color: oklch(48.9% 0.096 103.3);
Tailwind
colors: {
  custom: {
    50: '#988e58',
    500: '#6a6212',
    950: '#000000',
  },
}
SCSS
$custom: #6a6212;
$custom-light: #988e58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6212",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 54.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48896,
    "c": 0.09567,
    "h": 103.3
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#6A6212
secondary
#3640A2
accent
#4AEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6212

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

Preview Lab → · Contrast checker → · Palette generator →

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