#6C6915#6C6915

#6C6915 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#6C6915
RGBrgb(108, 105, 21)
HSLhsl(58, 67%, 25%)
HSVhsv(58, 81%, 42%)
CMYKcmyk(0%, 2.8%, 80.6%, 57.6%)
CIE-LABlab(43.28, -9.14, 43.98)
CIE-LCHlch(43.28, 44.92, 101.74°)
OKLaboklab(50.79% -0.03 0.096)
OKLCHoklch(50.79% 0.101 107.4)
XYZxyz(11.3717, 13.3458, 2.6863)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6915 #15186C
analogous
#6C3D15 #6C6915 #436C15
triadic
#6C6915 #156C69 #69156C
tetradic
#6C6915 #156C3D #15186C #6C1543
square
#6C6915 #156C3D #15186C #6C1543
split-complementary
#6C6915 #15436C #3D156C
monochromatic
#1A1905 #39370B #6C6915 #9F9B1F #D2CD29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C6915#FFFFFF#000000##FFFFFF
##6C69151.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)
#736502
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#746259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6915;
/* rgb */ color: rgb(108, 105, 21);
/* oklch */ color: oklch(50.8% 0.101 107.4);
Tailwind
colors: {
  custom: {
    50: '#99935a',
    500: '#6c6915',
    950: '#000000',
  },
}
SCSS
$custom: #6c6915;
$custom-light: #99935a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6915",
  "rgb": {
    "r": 108,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 57.931,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.10063,
    "h": 107.4
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#6C6915
secondary
#3A3EA3
accent
#43EA3D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C6915

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

Preview Lab → · Contrast checker → · Palette generator →

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