#6A6D15#6A6D15

#6A6D15 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.105 H 111.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6A6D15
RGBrgb(106, 109, 21)
HSLhsl(62, 68%, 25%)
HSVhsv(62, 81%, 43%)
CMYKcmyk(2.8%, 0%, 80.7%, 57.3%)
CIE-LABlab(44.31, -12.32, 44.86)
CIE-LCHlch(44.31, 46.52, 105.36°)
OKLaboklab(51.57% -0.0388 0.098)
OKLCHoklch(51.57% 0.105 111.6)
XYZxyz(11.5483, 14.0559, 2.8141)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6D15 #18156D
analogous
#6D4415 #6A6D15 #3E6D15
triadic
#6A6D15 #156A6D #6D156A
tetradic
#6A6D15 #156D44 #18156D #6D153E
square
#6A6D15 #156D44 #18156D #6D153E
split-complementary
#6A6D15 #153E6D #44156D
monochromatic
#191A05 #383A0B #6A6D15 #9CA01F #CED429

Accessibility & contrast

On white

5.51
#6A6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6A6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6D15
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6D15#FFFFFF#000000##FFFFFF
##6A6D151.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#72665D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a6d15;
/* rgb */ color: rgb(106, 109, 21);
/* oklch */ color: oklch(51.6% 0.105 111.6);
Tailwind
colors: {
  custom: {
    50: '#98965b',
    500: '#6a6d15',
    950: '#000000',
  },
}
SCSS
$custom: #6a6d15;
$custom-light: #98965b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6d15",
  "rgb": {
    "r": 106,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 62.045,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.10538,
    "h": 111.6
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#6A6D15
secondary
#3E3AA3
accent
#3DEB43
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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