#6C7C14#6C7C14

#6C7C14 is a mid, vivid yellow. Relative luminance 0.177; OKLCH L 55.4% C 0.123 H 118.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6C7C14
RGBrgb(108, 124, 20)
HSLhsl(69, 72%, 28%)
HSVhsv(69, 84%, 49%)
CMYKcmyk(12.9%, 0%, 83.9%, 51.4%)
CIE-LABlab(49.07, -19.49, 49.48)
CIE-LCHlch(49.07, 53.18, 111.50°)
OKLaboklab(55.43% -0.0588 0.1076)
OKLCHoklch(55.43% 0.123 118.6)
XYZxyz(13.5186, 17.6541, 3.3571)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7C14 #24147C
analogous
#7C5814 #6C7C14 #387C14
triadic
#6C7C14 #146C7C #7C146C
tetradic
#6C7C14 #147C58 #24147C #7C1438
square
#6C7C14 #147C58 #24147C #7C1438
split-complementary
#6C7C14 #14387C #58147C
monochromatic
#171A04 #3E470B #6C7C14 #9AB11D #C2DD2D

Accessibility & contrast

On white

4.63
#6C7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6C7C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7C14
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7C14#FFFFFF#000000##FFFFFF
##6C7C141.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#737569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7c14;
/* rgb */ color: rgb(108, 124, 20);
/* oklch */ color: oklch(55.4% 0.123 118.6);
Tailwind
colors: {
  custom: {
    50: '#99a15d',
    500: '#6c7c14',
    950: '#000000',
  },
}
SCSS
$custom: #6c7c14;
$custom-light: #99a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7c14",
  "rgb": {
    "r": 108,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 69.231,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.12259,
    "h": 118.6
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#6C7C14
secondary
#4D3AB2
accent
#39EF55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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