#676F31#676F31

#676F31 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.1% C 0.086 H 115.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#676F31
RGBrgb(103, 111, 49)
HSLhsl(68, 39%, 31%)
HSVhsv(68, 56%, 44%)
CMYKcmyk(7.2%, 0%, 55.9%, 56.5%)
CIE-LABlab(44.91, -12.86, 33.03)
CIE-LCHlch(44.91, 35.45, 111.28°)
OKLaboklab(52.06% -0.0371 0.0775)
OKLCHoklch(52.06% 0.086 115.6)
XYZxyz(11.8325, 14.4743, 5.0756)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F31 #39316F
analogous
#6F5831 #676F31 #486F31
triadic
#676F31 #31676F #6F3167
tetradic
#676F31 #316F58 #39316F #6F3148
square
#676F31 #316F58 #39316F #6F3148
split-complementary
#676F31 #31486F #58316F
monochromatic
#181A0C #40451E #676F31 #8E9944 #AEB961

Accessibility & contrast

On white

5.39
#676F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#676F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676F31
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676F31#FFFFFF#000000##FFFFFF
##676F311.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#6D6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f31;
/* rgb */ color: rgb(103, 111, 49);
/* oklch */ color: oklch(52.1% 0.086 115.6);
Tailwind
colors: {
  custom: {
    50: '#94986b',
    500: '#676f31',
    950: '#000000',
  },
}
SCSS
$custom: #676f31;
$custom-light: #94986b;
$custom-dark: #000000;
JSON
{
  "hex": "#676f31",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 67.742,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.08594,
    "h": 115.6
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#676F31
secondary
#655CA0
accent
#59CF68
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #676F31

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

Preview Lab → · Contrast checker → · Palette generator →

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