#6C6922#6C6922

#6C6922 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.9% C 0.092 H 106.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6C6922
RGBrgb(108, 105, 34)
HSLhsl(58, 52%, 28%)
HSVhsv(58, 69%, 42%)
CMYKcmyk(0%, 2.8%, 68.5%, 57.6%)
CIE-LABlab(43.37, -8.43, 38.81)
CIE-LCHlch(43.37, 39.71, 102.25°)
OKLaboklab(50.89% -0.0266 0.0876)
OKLCHoklch(50.89% 0.092 106.9)
XYZxyz(11.5251, 13.4072, 3.4938)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6922 #22256C
analogous
#6C4422 #6C6922 #4A6C22
triadic
#6C6922 #226C69 #69226C
tetradic
#6C6922 #226C44 #22256C #6C224A
square
#6C6922 #226C44 #22256C #6C224A
split-complementary
#6C6922 #224A6C #44226C
monochromatic
#171707 #3D3C13 #6C6922 #9B9631 #C4BF44

Accessibility & contrast

On white

5.70
#6C6922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6C6922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6922
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6922#FFFFFF#000000##FFFFFF
##6C69221.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#74625A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c6922;
/* rgb */ color: rgb(108, 105, 34);
/* oklch */ color: oklch(50.9% 0.092 106.9);
Tailwind
colors: {
  custom: {
    50: '#999361',
    500: '#6c6922',
    950: '#000000',
  },
}
SCSS
$custom: #6c6922;
$custom-light: #999361;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6922",
  "rgb": {
    "r": 108,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 57.568,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.09156,
    "h": 106.9
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#6C6922
secondary
#4A4EA0
accent
#52DC4C
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6C6922

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

Preview Lab → · Contrast checker → · Palette generator →

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