#6C7A18#6C7A18

#6C7A18 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.118 H 117.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6C7A18
RGBrgb(108, 122, 24)
HSLhsl(69, 67%, 29%)
HSVhsv(69, 80%, 48%)
CMYKcmyk(11.5%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.48, -18.28, 47.71)
CIE-LCHlch(48.48, 51.09, 110.96°)
OKLaboklab(54.96% -0.0551 0.1046)
OKLCHoklch(54.96% 0.118 117.8)
XYZxyz(13.3091, 17.1733, 3.4776)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7A18 #26187A
analogous
#7A5718 #6C7A18 #3B7A18
triadic
#6C7A18 #186C7A #7A186C
tetradic
#6C7A18 #187A57 #26187A #7A183B
square
#6C7A18 #187A57 #26187A #7A183B
split-complementary
#6C7A18 #183B7A #57187A
monochromatic
#171A05 #3F470E #6C7A18 #99AD22 #C0D735

Accessibility & contrast

On white

4.74
#6C7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6C7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7A18
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7A18#FFFFFF#000000##FFFFFF
##6C7A181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#817421
Tritanopia (blue-blind)
#737368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c7a18;
/* rgb */ color: rgb(108, 122, 24);
/* oklch */ color: oklch(55.0% 0.118 117.8);
Tailwind
colors: {
  custom: {
    50: '#99a05e',
    500: '#6c7a18',
    950: '#000000',
  },
}
SCSS
$custom: #6c7a18;
$custom-light: #99a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7a18",
  "rgb": {
    "r": 108,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 68.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.11819,
    "h": 117.8
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#6C7A18
secondary
#4F3FAF
accent
#3EEA56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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