#6B7215#6B7215

#6B7215 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.111 H 114.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6B7215
RGBrgb(107, 114, 21)
HSLhsl(65, 69%, 26%)
HSVhsv(65, 82%, 45%)
CMYKcmyk(6.1%, 0%, 81.6%, 55.3%)
CIE-LABlab(45.93, -14.59, 46.35)
CIE-LCHlch(45.93, 48.59, 107.48°)
OKLaboklab(52.89% -0.0451 0.1011)
OKLCHoklch(52.89% 0.111 114.1)
XYZxyz(12.2165, 15.2148, 3.0025)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7215 #1C1572
analogous
#724B15 #6B7215 #3D7215
triadic
#6B7215 #156B72 #72156B
tetradic
#6B7215 #15724B #1C1572 #72153D
square
#6B7215 #15724B #1C1572 #72153D
split-complementary
#6B7215 #153D72 #4B1572
monochromatic
#181A05 #3A3E0B #6B7215 #9CA61F #CBD82A

Accessibility & contrast

On white

5.19
#6B7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6B7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7215
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7215#FFFFFF#000000##FFFFFF
##6B72151.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#736B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b7215;
/* rgb */ color: rgb(107, 114, 21);
/* oklch */ color: oklch(52.9% 0.111 114.1);
Tailwind
colors: {
  custom: {
    50: '#989a5c',
    500: '#6b7215',
    950: '#000000',
  },
}
SCSS
$custom: #6b7215;
$custom-light: #989a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7215",
  "rgb": {
    "r": 107,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 64.516,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.11074,
    "h": 114.1
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#6B7215
secondary
#433BA8
accent
#3CEC49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7215

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

Preview Lab → · Contrast checker → · Palette generator →

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