#6C6215#6C6215

#6C6215 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.1% C 0.094 H 101.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6C6215
RGBrgb(108, 98, 21)
HSLhsl(53, 67%, 25%)
HSVhsv(53, 81%, 42%)
CMYKcmyk(0%, 9.3%, 80.6%, 57.6%)
CIE-LABlab(41.18, -5.14, 42.06)
CIE-LCHlch(41.18, 42.37, 96.96°)
OKLaboklab(49.12% -0.0188 0.0919)
OKLCHoklch(49.12% 0.094 101.6)
XYZxyz(10.6879, 11.9781, 2.4584)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6215 #151F6C
analogous
#6C3615 #6C6215 #4B6C15
triadic
#6C6215 #156C62 #62156C
tetradic
#6C6215 #156C36 #151F6C #6C154B
square
#6C6215 #156C36 #151F6C #6C154B
split-complementary
#6C6215 #154B6C #36156C
monochromatic
#1A1705 #39340B #6C6215 #9F901F #D2BF29

Accessibility & contrast

On white

6.18
#6C6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6C6215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6215
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6215#FFFFFF#000000##FFFFFF
##6C62151.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c6215;
/* rgb */ color: rgb(108, 98, 21);
/* oklch */ color: oklch(49.1% 0.094 101.6);
Tailwind
colors: {
  custom: {
    50: '#998e59',
    500: '#6c6215',
    950: '#000000',
  },
}
SCSS
$custom: #6c6215;
$custom-light: #998e59;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6215",
  "rgb": {
    "r": 108,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 53.103,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4912,
    "c": 0.09383,
    "h": 101.6
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#6C6215
secondary
#3A46A3
accent
#51EA3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6215

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

Preview Lab → · Contrast checker → · Palette generator →

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