#676F20#676F20

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

Color values

HEX#676F20
RGBrgb(103, 111, 32)
HSLhsl(66, 55%, 28%)
HSVhsv(66, 71%, 44%)
CMYKcmyk(7.2%, 0%, 71.2%, 56.5%)
CIE-LABlab(44.74, -14.23, 40.96)
CIE-LCHlch(44.74, 43.36, 109.16°)
OKLaboklab(51.87% -0.0428 0.0919)
OKLCHoklch(51.87% 0.101 115)
XYZxyz(11.5390, 14.3569, 3.5295)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F20 #28206F
analogous
#6F4F20 #676F20 #3F6F20
triadic
#676F20 #20676F #6F2067
tetradic
#676F20 #206F4F #28206F #6F203F
square
#676F20 #206F4F #28206F #6F203F
split-complementary
#676F20 #203F6F #4F206F
monochromatic
#161807 #3B3F12 #676F20 #939F2E #BBC841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##676F20#FFFFFF#000000##FFFFFF
##676F201.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)
#776914
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#6E685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f20;
/* rgb */ color: rgb(103, 111, 32);
/* oklch */ color: oklch(51.9% 0.101 115.0);
Tailwind
colors: {
  custom: {
    50: '#959861',
    500: '#676f20',
    950: '#000000',
  },
}
SCSS
$custom: #676f20;
$custom-light: #959861;
$custom-dark: #000000;
JSON
{
  "hex": "#676f20",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 66.076,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.10142,
    "h": 115
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#676F20
secondary
#5148A3
accent
#49DF58
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #676F20

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

Preview Lab → · Contrast checker → · Palette generator →

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