#6C7818#6C7818

#6C7818 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.116 H 116.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6C7818
RGBrgb(108, 120, 24)
HSLhsl(68, 67%, 28%)
HSVhsv(68, 80%, 47%)
CMYKcmyk(10%, 0%, 80%, 52.9%)
CIE-LABlab(47.86, -17.22, 47.15)
CIE-LCHlch(47.86, 50.20, 110.07°)
OKLaboklab(54.47% -0.0522 0.1034)
OKLCHoklch(54.47% 0.116 116.8)
XYZxyz(13.0660, 16.6872, 3.3966)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7818 #241878
analogous
#785418 #6C7818 #3C7818
triadic
#6C7818 #186C78 #78186C
tetradic
#6C7818 #187854 #241878 #78183C
square
#6C7818 #187854 #241878 #78183C
split-complementary
#6C7818 #183C78 #541878
monochromatic
#171A05 #3E450E #6C7818 #9AAB22 #C2D634

Accessibility & contrast

On white

4.84
#6C7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6C7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7818
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7818#FFFFFF#000000##FFFFFF
##6C78181.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#737166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7818;
/* rgb */ color: rgb(108, 120, 24);
/* oklch */ color: oklch(54.5% 0.116 116.8);
Tailwind
colors: {
  custom: {
    50: '#999e5e',
    500: '#6c7818',
    950: '#000000',
  },
}
SCSS
$custom: #6c7818;
$custom-light: #999e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7818",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 67.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.11579,
    "h": 116.8
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#6C7818
secondary
#4D3FAD
accent
#3EEA54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7818

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

Preview Lab → · Contrast checker → · Palette generator →

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