#6A6815#6A6815

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

Color values

HEX#6A6815
RGBrgb(106, 104, 21)
HSLhsl(59, 67%, 25%)
HSVhsv(59, 80%, 42%)
CMYKcmyk(0%, 1.9%, 80.2%, 58.4%)
CIE-LABlab(42.79, -9.53, 43.47)
CIE-LCHlch(42.79, 44.50, 102.37°)
OKLaboklab(50.36% -0.031 0.095)
OKLCHoklch(50.36% 0.1 108.1)
XYZxyz(11.0300, 13.0193, 2.6413)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6815 #15176A
analogous
#6A3D15 #6A6815 #426A15
triadic
#6A6815 #156A68 #68156A
tetradic
#6A6815 #156A3D #15176A #6A1542
square
#6A6815 #156A3D #15176A #6A1542
split-complementary
#6A6815 #15426A #3D156A
monochromatic
#1A1905 #37360B #6A6815 #9D9A1F #D0CC29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6815#FFFFFF#000000##FFFFFF
##6A68151.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)
#716302
Deuteranopia (green-blind)
#73661C
Tritanopia (blue-blind)
#726158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6815;
/* rgb */ color: rgb(106, 104, 21);
/* oklch */ color: oklch(50.4% 0.100 108.1);
Tailwind
colors: {
  custom: {
    50: '#98925a',
    500: '#6a6815',
    950: '#000000',
  },
}
SCSS
$custom: #6a6815;
$custom-light: #98925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6815",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 58.588,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.09996,
    "h": 108.1
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#6A6815
secondary
#3A3DA1
accent
#42EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6815

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

Preview Lab → · Contrast checker → · Palette generator →

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