#6B7815#6B7815

#6B7815 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.4% C 0.118 H 117.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6B7815
RGBrgb(107, 120, 21)
HSLhsl(68, 70%, 28%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(10.8%, 0%, 82.5%, 52.9%)
CIE-LABlab(47.77, -17.81, 48.00)
CIE-LCHlch(47.77, 51.20, 110.36°)
OKLaboklab(54.36% -0.054 0.1046)
OKLCHoklch(54.36% 0.118 117.3)
XYZxyz(12.9156, 16.6130, 3.2356)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7815 #221578
analogous
#785415 #6B7815 #397815
triadic
#6B7815 #156B78 #78156B
tetradic
#6B7815 #157854 #221578 #781539
square
#6B7815 #157854 #221578 #781539
split-complementary
#6B7815 #153978 #541578
monochromatic
#171A05 #3D440C #6B7815 #99AC1E #C4DA2D

Accessibility & contrast

On white

4.86
#6B7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6B7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7815
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7815#FFFFFF#000000##FFFFFF
##6B78151.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#727166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6b7815;
/* rgb */ color: rgb(107, 120, 21);
/* oklch */ color: oklch(54.4% 0.118 117.3);
Tailwind
colors: {
  custom: {
    50: '#999e5d',
    500: '#6b7815',
    950: '#000000',
  },
}
SCSS
$custom: #6b7815;
$custom-light: #999e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7815",
  "rgb": {
    "r": 107,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 67.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.11775,
    "h": 117.3
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#6B7815
secondary
#4A3BAE
accent
#3BED52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7815

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

Preview Lab → · Contrast checker → · Palette generator →

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