#6C7917#6C7917

#6C7917 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.118 H 117.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C7917
RGBrgb(108, 121, 23)
HSLhsl(68, 68%, 28%)
HSVhsv(68, 81%, 47%)
CMYKcmyk(10.7%, 0%, 81%, 52.5%)
CIE-LABlab(48.17, -17.80, 47.75)
CIE-LCHlch(48.17, 50.96, 110.44°)
OKLaboklab(54.71% -0.0539 0.1045)
OKLCHoklch(54.71% 0.118 117.3)
XYZxyz(13.1767, 16.9249, 3.3831)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7917 #241779
analogous
#795517 #6C7917 #3B7917
triadic
#6C7917 #176C79 #79176C
tetradic
#6C7917 #177955 #241779 #79173B
square
#6C7917 #177955 #241779 #79173B
split-complementary
#6C7917 #173B79 #551779
monochromatic
#171A05 #3E460D #6C7917 #9AAC21 #C2D832

Accessibility & contrast

On white

4.79
#6C7917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6C7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7917
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7917#FFFFFF#000000##FFFFFF
##6C79171.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#737267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7917;
/* rgb */ color: rgb(108, 121, 23);
/* oklch */ color: oklch(54.7% 0.118 117.3);
Tailwind
colors: {
  custom: {
    50: '#999f5e',
    500: '#6c7917',
    950: '#000000',
  },
}
SCSS
$custom: #6c7917;
$custom-light: #999f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7917",
  "rgb": {
    "r": 108,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 67.959,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.11753,
    "h": 117.3
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#6C7917
secondary
#4D3EAE
accent
#3DEB54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7917

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

Preview Lab → · Contrast checker → · Palette generator →

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