#6C7915#6C7915

#6C7915 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.119 H 117.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C7915
RGBrgb(108, 121, 21)
HSLhsl(68, 70%, 28%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(10.7%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.16, -17.88, 48.37)
CIE-LCHlch(48.16, 51.57, 110.29°)
OKLaboklab(54.7% -0.0542 0.1054)
OKLCHoklch(54.7% 0.119 117.2)
XYZxyz(13.1574, 16.9172, 3.2815)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7915 #221579
analogous
#795415 #6C7915 #3A7915
triadic
#6C7915 #156C79 #79156C
tetradic
#6C7915 #157954 #221579 #79153A
square
#6C7915 #157954 #221579 #79153A
split-complementary
#6C7915 #153A79 #541579
monochromatic
#171A05 #3D450C #6C7915 #9BAD1E #C4DB2E

Accessibility & contrast

On white

4.79
#6C7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6C7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7915
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7915#FFFFFF#000000##FFFFFF
##6C79151.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#737267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7915;
/* rgb */ color: rgb(108, 121, 21);
/* oklch */ color: oklch(54.7% 0.119 117.2);
Tailwind
colors: {
  custom: {
    50: '#999f5d',
    500: '#6c7915',
    950: '#000000',
  },
}
SCSS
$custom: #6c7915;
$custom-light: #999f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7915",
  "rgb": {
    "r": 108,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 67.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.11854,
    "h": 117.2
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C7915

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

Preview Lab → · Contrast checker → · Palette generator →

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