#6A6412#6A6412

#6A6412 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.098 H 105.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6A6412
RGBrgb(106, 100, 18)
HSLhsl(56, 71%, 24%)
HSVhsv(56, 83%, 42%)
CMYKcmyk(0%, 5.7%, 83%, 58.4%)
CIE-LABlab(41.57, -7.38, 43.39)
CIE-LCHlch(41.57, 44.02, 99.66°)
OKLaboklab(49.38% -0.0253 0.0942)
OKLCHoklch(49.38% 0.098 105)
XYZxyz(10.6107, 12.2226, 2.3724)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6412 #12186A
analogous
#6A3812 #6A6412 #446A12
triadic
#6A6412 #126A64 #64126A
tetradic
#6A6412 #126A38 #12186A #6A1244
square
#6A6412 #126A38 #12186A #6A1244
split-complementary
#6A6412 #12446A #38126A
monochromatic
#1A1904 #363309 #6A6412 #9E951B #D3C724

Accessibility & contrast

On white

6.10
#6A6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6A6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6412
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6412#FFFFFF#000000##FFFFFF
##6A64121.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#735C55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a6412;
/* rgb */ color: rgb(106, 100, 18);
/* oklch */ color: oklch(49.4% 0.098 105.0);
Tailwind
colors: {
  custom: {
    50: '#988f58',
    500: '#6a6412',
    950: '#000000',
  },
}
SCSS
$custom: #6a6412;
$custom-light: #988f58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6412",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 55.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.09757,
    "h": 105
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#6A6412
secondary
#363EA2
accent
#46EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6412

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

Preview Lab → · Contrast checker → · Palette generator →

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