#6A6812#6A6812

#6A6812 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.3% C 0.102 H 108.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6A6812
RGBrgb(106, 104, 18)
HSLhsl(59, 71%, 24%)
HSVhsv(59, 83%, 42%)
CMYKcmyk(0%, 1.9%, 83%, 58.4%)
CIE-LABlab(42.78, -9.66, 44.47)
CIE-LCHlch(42.78, 45.50, 102.25°)
OKLaboklab(50.34% -0.0316 0.0966)
OKLCHoklch(50.34% 0.102 108.1)
XYZxyz(11.0038, 13.0088, 2.5035)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6812 #12146A
analogous
#6A3C12 #6A6812 #406A12
triadic
#6A6812 #126A68 #68126A
tetradic
#6A6812 #126A3C #12146A #6A1240
square
#6A6812 #126A3C #12146A #6A1240
split-complementary
#6A6812 #12406A #3C126A
monochromatic
#1A1A04 #363509 #6A6812 #9E9B1B #D3CF24

Accessibility & contrast

On white

5.83
#6A6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6A6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6812
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6812#FFFFFF#000000##FFFFFF
##6A68121.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#73661A
Tritanopia (blue-blind)
#726158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6812;
/* rgb */ color: rgb(106, 104, 18);
/* oklch */ color: oklch(50.3% 0.102 108.1);
Tailwind
colors: {
  custom: {
    50: '#989259',
    500: '#6a6812',
    950: '#000000',
  },
}
SCSS
$custom: #6a6812;
$custom-light: #989259;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6812",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 58.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.1016,
    "h": 108.1
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#6A6812
secondary
#3639A2
accent
#3EEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6812

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

Preview Lab → · Contrast checker → · Palette generator →

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