#6B6215#6B6215

#6B6215 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 49.0% C 0.094 H 102.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6B6215
RGBrgb(107, 98, 21)
HSLhsl(54, 67%, 25%)
HSVhsv(54, 80%, 42%)
CMYKcmyk(0%, 8.4%, 80.4%, 58%)
CIE-LABlab(41.08, -5.62, 41.93)
CIE-LCHlch(41.08, 42.31, 97.64°)
OKLaboklab(49.02% -0.0201 0.0917)
OKLCHoklch(49.02% 0.094 102.4)
XYZxyz(10.5669, 11.9158, 2.4527)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6215 #151E6B
analogous
#6B3715 #6B6215 #496B15
triadic
#6B6215 #156B62 #62156B
tetradic
#6B6215 #156B37 #151E6B #6B1549
square
#6B6215 #156B37 #151E6B #6B1549
split-complementary
#6B6215 #15496B #37156B
monochromatic
#1A1705 #38330B #6B6215 #9E911F #D1C029

Accessibility & contrast

On white

6.21
#6B6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6B6215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6215
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6215#FFFFFF#000000##FFFFFF
##6B62151.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#6E631B
Tritanopia (blue-blind)
#745A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b6215;
/* rgb */ color: rgb(107, 98, 21);
/* oklch */ color: oklch(49.0% 0.094 102.4);
Tailwind
colors: {
  custom: {
    50: '#988e59',
    500: '#6b6215',
    950: '#000000',
  },
}
SCSS
$custom: #6b6215;
$custom-light: #988e59;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6215",
  "rgb": {
    "r": 107,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 53.721,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.09389,
    "h": 102.4
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#6B6215
secondary
#3A45A2
accent
#50EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6215

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

Preview Lab → · Contrast checker → · Palette generator →

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