#676A31#676A31

#676A31 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.079 H 111.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#676A31
RGBrgb(103, 106, 49)
HSLhsl(63, 37%, 30%)
HSVhsv(63, 54%, 42%)
CMYKcmyk(2.8%, 0%, 53.8%, 58.4%)
CIE-LABlab(43.38, -10.07, 31.25)
CIE-LCHlch(43.38, 32.83, 107.87°)
OKLaboklab(50.84% -0.0292 0.0737)
OKLCHoklch(50.84% 0.079 111.6)
XYZxyz(11.3022, 13.4136, 4.8988)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A31 #34316A
analogous
#6A5031 #676A31 #4A6A31
triadic
#676A31 #31676A #6A3167
tetradic
#676A31 #316A50 #34316A #6A314A
square
#676A31 #316A50 #34316A #6A314A
split-complementary
#676A31 #314A6A #50316A
monochromatic
#16160A #3E401E #676A31 #909444 #B1B560

Accessibility & contrast

On white

5.70
#676A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#676A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676A31
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A31#FFFFFF#000000##FFFFFF
##676A311.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71662C
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#6D645D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #676a31;
/* rgb */ color: rgb(103, 106, 49);
/* oklch */ color: oklch(50.8% 0.079 111.6);
Tailwind
colors: {
  custom: {
    50: '#94946b',
    500: '#676a31',
    950: '#000000',
  },
}
SCSS
$custom: #676a31;
$custom-light: #94946b;
$custom-dark: #000000;
JSON
{
  "hex": "#676a31",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 63.158,
    "s": 36.774,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.07923,
    "h": 111.6
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#676A31
secondary
#5F5C9B
accent
#5BCD61
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #676A31

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

Preview Lab → · Contrast checker → · Palette generator →

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