#6C7D11#6C7D11

#6C7D11 is a mid, vivid yellow. Relative luminance 0.179; OKLCH L 55.7% C 0.125 H 119.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6C7D11
RGBrgb(108, 125, 17)
HSLhsl(69, 76%, 28%)
HSVhsv(69, 86%, 49%)
CMYKcmyk(13.6%, 0%, 86.4%, 51%)
CIE-LABlab(49.37, -20.12, 50.56)
CIE-LCHlch(49.37, 54.42, 111.70°)
OKLaboklab(55.67% -0.0607 0.1094)
OKLCHoklch(55.67% 0.125 119)
XYZxyz(13.6195, 17.8959, 3.2670)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7D11 #22117D
analogous
#7D5811 #6C7D11 #367D11
triadic
#6C7D11 #116C7D #7D116C
tetradic
#6C7D11 #117D58 #22117D #7D1136
square
#6C7D11 #117D58 #22117D #7D1136
split-complementary
#6C7D11 #11367D #58117D
monochromatic
#171B04 #3D470A #6C7D11 #9BB318 #C4E227

Accessibility & contrast

On white

4.59
#6C7D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6C7D11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7D11
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7D11#FFFFFF#000000##FFFFFF
##6C7D111.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#73766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7d11;
/* rgb */ color: rgb(108, 125, 17);
/* oklch */ color: oklch(55.7% 0.125 119.0);
Tailwind
colors: {
  custom: {
    50: '#9aa25c',
    500: '#6c7d11',
    950: '#000000',
  },
}
SCSS
$custom: #6c7d11;
$custom-light: #9aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7d11",
  "rgb": {
    "r": 108,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 69.444,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.12508,
    "h": 119
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#6C7D11
secondary
#4A37B3
accent
#35F353
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F04
muted
#7E7E79

Preview Lab

Preview with #6C7D11

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

Preview Lab → · Contrast checker → · Palette generator →

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