#676F22#676F22

#676F22 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.100 H 115.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#676F22
RGBrgb(103, 111, 34)
HSLhsl(66, 53%, 28%)
HSVhsv(66, 69%, 44%)
CMYKcmyk(7.2%, 0%, 69.4%, 56.5%)
CIE-LABlab(44.76, -14.10, 40.11)
CIE-LCHlch(44.76, 42.51, 109.37°)
OKLaboklab(51.89% -0.0422 0.0905)
OKLCHoklch(51.89% 0.1 115)
XYZxyz(11.5670, 14.3681, 3.6771)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F22 #2A226F
analogous
#6F5022 #676F22 #406F22
triadic
#676F22 #22676F #6F2267
tetradic
#676F22 #226F50 #2A226F #6F2240
square
#676F22 #226F50 #2A226F #6F2240
split-complementary
#676F22 #22406F #50226F
monochromatic
#161707 #3C4014 #676F22 #929E30 #B9C645

Accessibility & contrast

On white

5.42
#676F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#676F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676F22
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676F22#FFFFFF#000000##FFFFFF
##676F221.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#6E685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f22;
/* rgb */ color: rgb(103, 111, 34);
/* oklch */ color: oklch(51.9% 0.100 115.0);
Tailwind
colors: {
  custom: {
    50: '#959862',
    500: '#676f22',
    950: '#000000',
  },
}
SCSS
$custom: #676f22;
$custom-light: #959862;
$custom-dark: #000000;
JSON
{
  "hex": "#676f22",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 66.234,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.09986,
    "h": 115
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#676F22
secondary
#544AA2
accent
#4BDD5A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #676F22

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

Preview Lab → · Contrast checker → · Palette generator →

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