#6B6715#6B6715

#6B6715 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.099 H 106.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6B6715
RGBrgb(107, 103, 21)
HSLhsl(57, 67%, 25%)
HSVhsv(57, 80%, 42%)
CMYKcmyk(0%, 3.7%, 80.4%, 58%)
CIE-LABlab(42.58, -8.49, 43.31)
CIE-LCHlch(42.58, 44.14, 101.09°)
OKLaboklab(50.21% -0.0281 0.0947)
OKLCHoklch(50.21% 0.099 106.6)
XYZxyz(11.0495, 12.8808, 2.6135)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6715 #15196B
analogous
#6B3C15 #6B6715 #446B15
triadic
#6B6715 #156B67 #67156B
tetradic
#6B6715 #156B3C #15196B #6B1544
square
#6B6715 #156B3C #15196B #6B1544
split-complementary
#6B6715 #15446B #3C156B
monochromatic
#1A1905 #38360B #6B6715 #9E981F #D1C929

Accessibility & contrast

On white

5.87
#6B6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6B6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6715
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6715#FFFFFF#000000##FFFFFF
##6B67151.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#736058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6715;
/* rgb */ color: rgb(107, 103, 21);
/* oklch */ color: oklch(50.2% 0.099 106.6);
Tailwind
colors: {
  custom: {
    50: '#98925a',
    500: '#6b6715',
    950: '#000000',
  },
}
SCSS
$custom: #6b6715;
$custom-light: #98925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6715",
  "rgb": {
    "r": 107,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 57.209,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.09875,
    "h": 106.6
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#6B6715
secondary
#3A3FA2
accent
#46EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6715

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

Preview Lab → · Contrast checker → · Palette generator →

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