#676F17#676F17

#676F17 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.107 H 114.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#676F17
RGBrgb(103, 111, 23)
HSLhsl(65, 66%, 26%)
HSVhsv(65, 79%, 44%)
CMYKcmyk(7.2%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.68, -14.74, 44.41)
CIE-LCHlch(44.68, 46.79, 108.36°)
OKLaboklab(51.81% -0.0451 0.0976)
OKLCHoklch(51.81% 0.107 114.8)
XYZxyz(11.4329, 14.3145, 2.9712)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F17 #1F176F
analogous
#6F4B17 #676F17 #3B6F17
triadic
#676F17 #17676F #6F1767
tetradic
#676F17 #176F4B #1F176F #6F173B
square
#676F17 #176F4B #1F176F #6F173B
split-complementary
#676F17 #173B6F #4B176F
monochromatic
#181905 #383C0C #676F17 #96A222 #C4D32D

Accessibility & contrast

On white

5.44
#676F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#676F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676F17
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676F17#FFFFFF#000000##FFFFFF
##676F171.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#6E685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f17;
/* rgb */ color: rgb(103, 111, 23);
/* oklch */ color: oklch(51.8% 0.107 114.8);
Tailwind
colors: {
  custom: {
    50: '#95985c',
    500: '#676f17',
    950: '#000000',
  },
}
SCSS
$custom: #676f17;
$custom-light: #95985c;
$custom-dark: #000000;
JSON
{
  "hex": "#676f17",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 65.455,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.10748,
    "h": 114.8
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#676F17
secondary
#463DA5
accent
#3FE94F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676F17

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

Preview Lab → · Contrast checker → · Palette generator →

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