#6C7018#6C7018

#6C7018 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.106 H 112.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C7018
RGBrgb(108, 112, 24)
HSLhsl(63, 65%, 27%)
HSVhsv(63, 79%, 44%)
CMYKcmyk(3.6%, 0%, 78.6%, 56.1%)
CIE-LABlab(45.42, -12.90, 44.89)
CIE-LCHlch(45.42, 46.71, 106.03°)
OKLaboklab(52.5% -0.0402 0.0986)
OKLCHoklch(52.5% 0.106 112.2)
XYZxyz(12.1438, 14.8427, 3.0892)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7018 #1C1870
analogous
#704818 #6C7018 #407018
triadic
#6C7018 #186C70 #70186C
tetradic
#6C7018 #187048 #1C1870 #701840
square
#6C7018 #187048 #1C1870 #701840
split-complementary
#6C7018 #184070 #481870
monochromatic
#181905 #3B3E0D #6C7018 #9DA223 #CBD330

Accessibility & contrast

On white

5.29
#6C7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6C7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7018
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7018#FFFFFF#000000##FFFFFF
##6C70181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A04
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7018;
/* rgb */ color: rgb(108, 112, 24);
/* oklch */ color: oklch(52.5% 0.106 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985d',
    500: '#6c7018',
    950: '#000000',
  },
}
SCSS
$custom: #6c7018;
$custom-light: #99985d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7018",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 62.727,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.10646,
    "h": 112.2
  },
  "luminance": 0.14842
}

Semantic roles & 50–950 ramp

primary
#6C7018
secondary
#433EA5
accent
#40E848
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7018

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

Preview Lab → · Contrast checker → · Palette generator →

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