#6A6112#6A6112

#6A6112 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.095 H 102.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6A6112
RGBrgb(106, 97, 18)
HSLhsl(54, 71%, 24%)
HSVhsv(54, 83%, 42%)
CMYKcmyk(0%, 8.5%, 83%, 58.4%)
CIE-LABlab(40.67, -5.66, 42.59)
CIE-LCHlch(40.67, 42.96, 97.57°)
OKLaboklab(48.66% -0.0204 0.0925)
OKLCHoklch(48.66% 0.095 102.5)
XYZxyz(10.3282, 11.6577, 2.2783)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6112 #121B6A
analogous
#6A3512 #6A6112 #476A12
triadic
#6A6112 #126A61 #61126A
tetradic
#6A6112 #126A35 #121B6A #6A1247
square
#6A6112 #126A35 #121B6A #6A1247
split-complementary
#6A6112 #12476A #35126A
monochromatic
#1A1804 #363109 #6A6112 #9E911B #D3C124

Accessibility & contrast

On white

6.30
#6A6112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6A6112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6112
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6112#FFFFFF#000000##FFFFFF
##6A61121.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#735952
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a6112;
/* rgb */ color: rgb(106, 97, 18);
/* oklch */ color: oklch(48.7% 0.095 102.5);
Tailwind
colors: {
  custom: {
    50: '#988d58',
    500: '#6a6112',
    950: '#000000',
  },
}
SCSS
$custom: #6a6112;
$custom-light: #988d58;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6112",
  "rgb": {
    "r": 106,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 53.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48658,
    "c": 0.09475,
    "h": 102.5
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

primary
#6A6112
secondary
#3641A2
accent
#4CEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6112

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

Preview Lab → · Contrast checker → · Palette generator →

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