#676A22#676A22

#676A22 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.094 H 111.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#676A22
RGBrgb(103, 106, 34)
HSLhsl(63, 51%, 27%)
HSVhsv(63, 68%, 42%)
CMYKcmyk(2.8%, 0%, 67.9%, 58.4%)
CIE-LABlab(43.22, -11.34, 38.52)
CIE-LCHlch(43.22, 40.15, 106.40°)
OKLaboklab(50.66% -0.0345 0.0871)
OKLCHoklch(50.66% 0.094 111.6)
XYZxyz(11.0366, 13.3074, 3.5003)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A22 #25226A
analogous
#6A4922 #676A22 #436A22
triadic
#676A22 #22676A #6A2267
tetradic
#676A22 #226A49 #25226A #6A2243
square
#676A22 #226A49 #25226A #6A2243
split-complementary
#676A22 #22436A #49226A
monochromatic
#171707 #3A3C13 #676A22 #949831 #BEC344

Accessibility & contrast

On white

5.74
#676A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#676A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676A22
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A22#FFFFFF#000000##FFFFFF
##676A221.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#6E635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #676a22;
/* rgb */ color: rgb(103, 106, 34);
/* oklch */ color: oklch(50.7% 0.094 111.6);
Tailwind
colors: {
  custom: {
    50: '#959461',
    500: '#676a22',
    950: '#000000',
  },
}
SCSS
$custom: #676a22;
$custom-light: #959461;
$custom-dark: #000000;
JSON
{
  "hex": "#676a22",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 62.5,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.09372,
    "h": 111.6
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#676A22
secondary
#4E4A9E
accent
#4DDB53
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #676A22

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

Preview Lab → · Contrast checker → · Palette generator →

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