#6C6916#6C6916

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

Color values

HEX#6C6916
RGBrgb(108, 105, 22)
HSLhsl(58, 66%, 25%)
HSVhsv(58, 80%, 42%)
CMYKcmyk(0%, 2.8%, 79.6%, 57.6%)
CIE-LABlab(43.29, -9.10, 43.64)
CIE-LCHlch(43.29, 44.57, 101.77°)
OKLaboklab(50.8% -0.0298 0.0955)
OKLCHoklch(50.8% 0.1 107.3)
XYZxyz(11.3812, 13.3496, 2.7361)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6916 #16196C
analogous
#6C3E16 #6C6916 #446C16
triadic
#6C6916 #166C69 #69166C
tetradic
#6C6916 #166C3E #16196C #6C1644
square
#6C6916 #166C3E #16196C #6C1644
split-complementary
#6C6916 #16446C #3E166C
monochromatic
#191905 #39380C #6C6916 #9F9A20 #D2CC2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C6916#FFFFFF#000000##FFFFFF
##6C69161.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)
#736503
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#746259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6916;
/* rgb */ color: rgb(108, 105, 22);
/* oklch */ color: oklch(50.8% 0.100 107.3);
Tailwind
colors: {
  custom: {
    50: '#99935b',
    500: '#6c6916',
    950: '#000000',
  },
}
SCSS
$custom: #6c6916;
$custom-light: #99935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6916",
  "rgb": {
    "r": 108,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 57.907,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50796,
    "c": 0.10004,
    "h": 107.3
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#6C6916
secondary
#3C3FA2
accent
#45E93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C6916

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

Preview Lab → · Contrast checker → · Palette generator →

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