#676A2F#676A2F

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

Color values

HEX#676A2F
RGBrgb(103, 106, 47)
HSLhsl(63, 39%, 30%)
HSVhsv(63, 56%, 42%)
CMYKcmyk(2.8%, 0%, 55.7%, 58.4%)
CIE-LABlab(43.36, -10.27, 32.27)
CIE-LCHlch(43.36, 33.87, 107.65°)
OKLaboklab(50.81% -0.0299 0.0757)
OKLCHoklch(50.81% 0.081 111.6)
XYZxyz(11.2609, 13.3971, 4.6815)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A2F #322F6A
analogous
#6A502F #676A2F #496A2F
triadic
#676A2F #2F676A #6A2F67
tetradic
#676A2F #2F6A50 #322F6A #6A2F49
square
#676A2F #2F6A50 #322F6A #6A2F49
split-complementary
#676A2F #2F496A #502F6A
monochromatic
#151509 #3E401C #676A2F #909442 #B2B75C

Accessibility & contrast

On white

5.71
#676A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #676A2F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A2F#FFFFFF#000000##FFFFFF
##676A2F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716629
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#6D645D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #676a2f;
/* rgb */ color: rgb(103, 106, 47);
/* oklch */ color: oklch(50.8% 0.081 111.6);
Tailwind
colors: {
  custom: {
    50: '#949469',
    500: '#676a2f',
    950: '#000000',
  },
}
SCSS
$custom: #676a2f;
$custom-light: #949469;
$custom-dark: #000000;
JSON
{
  "hex": "#676a2f",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 63.051,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.08137,
    "h": 111.6
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#676A2F
secondary
#5D599B
accent
#59CE5F
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #676A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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