#6B6915#6B6915

#6B6915 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.101 H 108.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6B6915
RGBrgb(107, 105, 21)
HSLhsl(59, 67%, 25%)
HSVhsv(59, 80%, 42%)
CMYKcmyk(0%, 1.9%, 80.4%, 58%)
CIE-LABlab(43.19, -9.62, 43.87)
CIE-LCHlch(43.19, 44.91, 102.37°)
OKLaboklab(50.69% -0.0313 0.0958)
OKLCHoklch(50.69% 0.101 108.1)
XYZxyz(11.2508, 13.2835, 2.6806)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6915 #15176B
analogous
#6B3E15 #6B6915 #426B15
triadic
#6B6915 #156B69 #69156B
tetradic
#6B6915 #156B3E #15176B #6B1542
square
#6B6915 #156B3E #15176B #6B1542
split-complementary
#6B6915 #15426B #3E156B
monochromatic
#1A1905 #38370B #6B6915 #9E9B1F #D1CD29

Accessibility & contrast

On white

5.74
#6B6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6B6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6915
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6915#FFFFFF#000000##FFFFFF
##6B69151.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#736259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b6915;
/* rgb */ color: rgb(107, 105, 21);
/* oklch */ color: oklch(50.7% 0.101 108.1);
Tailwind
colors: {
  custom: {
    50: '#98935a',
    500: '#6b6915',
    950: '#000000',
  },
}
SCSS
$custom: #6b6915;
$custom-light: #98935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6915",
  "rgb": {
    "r": 107,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 58.605,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.10082,
    "h": 108.1
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#6B6915
secondary
#3A3DA2
accent
#42EA3E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6915

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

Preview Lab → · Contrast checker → · Palette generator →

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