#676C18#676C18

#676C18 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.103 H 113.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#676C18
RGBrgb(103, 108, 24)
HSLhsl(64, 64%, 26%)
HSVhsv(64, 78%, 42%)
CMYKcmyk(4.6%, 0%, 77.8%, 57.6%)
CIE-LABlab(43.76, -13.04, 43.19)
CIE-LCHlch(43.76, 45.12, 106.81°)
OKLaboklab(51.07% -0.0403 0.0952)
OKLCHoklch(51.07% 0.103 113)
XYZxyz(11.1213, 13.6749, 2.9176)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676C18 #1D186C
analogous
#6C4718 #676C18 #3D6C18
triadic
#676C18 #18676C #6C1867
tetradic
#676C18 #186C47 #1D186C #6C183D
square
#676C18 #186C47 #1D186C #6C183D
split-complementary
#676C18 #183D6C #47186C
monochromatic
#181906 #373A0D #676C18 #979E23 #C7D02E

Accessibility & contrast

On white

5.62
#676C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#676C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676C18
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676C18#FFFFFF#000000##FFFFFF
##676C181.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#6E655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #676c18;
/* rgb */ color: rgb(103, 108, 24);
/* oklch */ color: oklch(51.1% 0.103 113.0);
Tailwind
colors: {
  custom: {
    50: '#95955c',
    500: '#676c18',
    950: '#000000',
  },
}
SCSS
$custom: #676c18;
$custom-light: #95955c;
$custom-dark: #000000;
JSON
{
  "hex": "#676c18",
  "rgb": {
    "r": 103,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 63.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.10336,
    "h": 113
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#676C18
secondary
#443EA2
accent
#41E74B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676C18

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

Preview Lab → · Contrast checker → · Palette generator →

#676C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva