#676D21#676D21

#676D21 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.4% C 0.098 H 113.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#676D21
RGBrgb(103, 109, 33)
HSLhsl(65, 54%, 28%)
HSVhsv(65, 70%, 43%)
CMYKcmyk(5.5%, 0%, 69.7%, 57.3%)
CIE-LABlab(44.13, -13.07, 39.90)
CIE-LCHlch(44.13, 41.99, 108.14°)
OKLaboklab(51.39% -0.0395 0.0899)
OKLCHoklch(51.39% 0.098 113.7)
XYZxyz(11.3370, 13.9309, 3.5303)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676D21 #27216D
analogous
#6D4D21 #676D21 #416D21
triadic
#676D21 #21676D #6D2167
tetradic
#676D21 #216D4D #27216D #6D2141
square
#676D21 #216D4D #27216D #6D2141
split-complementary
#676D21 #21416D #4D216D
monochromatic
#161707 #3B3E13 #676D21 #939C2F #BCC642

Accessibility & contrast

On white

5.55
#676D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#676D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676D21
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676D21#FFFFFF#000000##FFFFFF
##676D211.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756816
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#6E665E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #676d21;
/* rgb */ color: rgb(103, 109, 33);
/* oklch */ color: oklch(51.4% 0.098 113.7);
Tailwind
colors: {
  custom: {
    50: '#959661',
    500: '#676d21',
    950: '#000000',
  },
}
SCSS
$custom: #676d21;
$custom-light: #959661;
$custom-dark: #000000;
JSON
{
  "hex": "#676d21",
  "rgb": {
    "r": 103,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 64.737,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.09818,
    "h": 113.7
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#676D21
secondary
#5049A1
accent
#4BDD56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #676D21

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

Preview Lab → · Contrast checker → · Palette generator →

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