#6C6914#6C6914

#6C6914 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.8% C 0.101 H 107.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6C6914
RGBrgb(108, 105, 20)
HSLhsl(58, 69%, 25%)
HSVhsv(58, 81%, 42%)
CMYKcmyk(0%, 2.8%, 81.5%, 57.6%)
CIE-LABlab(43.27, -9.18, 44.32)
CIE-LCHlch(43.27, 45.26, 101.70°)
OKLaboklab(50.78% -0.0302 0.0966)
OKLCHoklch(50.78% 0.101 107.4)
XYZxyz(11.3626, 13.3422, 2.6385)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6914 #14176C
analogous
#6C3D14 #6C6914 #436C14
triadic
#6C6914 #146C69 #69146C
tetradic
#6C6914 #146C3D #14176C #6C1443
square
#6C6914 #146C3D #14176C #6C1443
split-complementary
#6C6914 #14436C #3D146C
monochromatic
#1A1905 #38370A #6C6914 #A09B1E #D3CD27

Accessibility & contrast

On white

5.72
#6C6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6C6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6914
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6914#FFFFFF#000000##FFFFFF
##6C69141.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#74681B
Tritanopia (blue-blind)
#746159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6914;
/* rgb */ color: rgb(108, 105, 20);
/* oklch */ color: oklch(50.8% 0.101 107.4);
Tailwind
colors: {
  custom: {
    50: '#99935a',
    500: '#6c6914',
    950: '#000000',
  },
}
SCSS
$custom: #6c6914;
$custom-light: #99935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6914",
  "rgb": {
    "r": 108,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 57.955,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50784,
    "c": 0.10117,
    "h": 107.4
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#6C6914
secondary
#393DA3
accent
#42EC3C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C6914

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

Preview Lab → · Contrast checker → · Palette generator →

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