#6C7815#6C7815

#6C7815 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.4% C 0.117 H 116.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6C7815
RGBrgb(108, 120, 21)
HSLhsl(67, 70%, 28%)
HSVhsv(67, 83%, 47%)
CMYKcmyk(10%, 0%, 82.5%, 52.9%)
CIE-LABlab(47.85, -17.35, 48.10)
CIE-LCHlch(47.85, 51.13, 109.84°)
OKLaboklab(54.45% -0.0528 0.1048)
OKLCHoklch(54.45% 0.117 116.7)
XYZxyz(13.0365, 16.6754, 3.2412)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7815 #211578
analogous
#785315 #6C7815 #3A7815
triadic
#6C7815 #156C78 #78156C
tetradic
#6C7815 #157853 #211578 #78153A
square
#6C7815 #157853 #211578 #78153A
split-complementary
#6C7815 #153A78 #531578
monochromatic
#171A05 #3D440C #6C7815 #9BAC1E #C5DA2D

Accessibility & contrast

On white

4.84
#6C7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6C7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7815
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7815#FFFFFF#000000##FFFFFF
##6C78151.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#737166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7815;
/* rgb */ color: rgb(108, 120, 21);
/* oklch */ color: oklch(54.4% 0.117 116.7);
Tailwind
colors: {
  custom: {
    50: '#999e5d',
    500: '#6c7815',
    950: '#000000',
  },
}
SCSS
$custom: #6c7815;
$custom-light: #999e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7815",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 67.273,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.11737,
    "h": 116.7
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#6C7815
secondary
#493BAE
accent
#3BED50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7815

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

Preview Lab → · Contrast checker → · Palette generator →

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