#6C7918#6C7918

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

Color values

HEX#6C7918
RGBrgb(108, 121, 24)
HSLhsl(68, 67%, 28%)
HSVhsv(68, 80%, 47%)
CMYKcmyk(10.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.17, -17.75, 47.43)
CIE-LCHlch(48.17, 50.65, 110.52°)
OKLaboklab(54.71% -0.0537 0.104)
OKLCHoklch(54.71% 0.117 117.3)
XYZxyz(13.1869, 16.9290, 3.4369)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7918 #251879
analogous
#795518 #6C7918 #3B7918
triadic
#6C7918 #186C79 #79186C
tetradic
#6C7918 #187955 #251879 #79183B
square
#6C7918 #187955 #251879 #79183B
split-complementary
#6C7918 #183B79 #551879
monochromatic
#171A05 #3E460E #6C7918 #9AAC22 #C1D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7918#FFFFFF#000000##FFFFFF
##6C79181.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)
#807321
Tritanopia (blue-blind)
#737267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7918;
/* rgb */ color: rgb(108, 121, 24);
/* oklch */ color: oklch(54.7% 0.117 117.3);
Tailwind
colors: {
  custom: {
    50: '#999f5e',
    500: '#6c7918',
    950: '#000000',
  },
}
SCSS
$custom: #6c7918;
$custom-light: #999f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7918",
  "rgb": {
    "r": 108,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 68.041,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.11699,
    "h": 117.3
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#6C7918
secondary
#4E3FAE
accent
#3EEA55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7918

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

Preview Lab → · Contrast checker → · Palette generator →

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