#676816#676816

#676816 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.100 H 110.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#676816
RGBrgb(103, 104, 22)
HSLhsl(61, 65%, 25%)
HSVhsv(61, 79%, 41%)
CMYKcmyk(1%, 0%, 78.8%, 59.2%)
CIE-LABlab(42.52, -10.92, 42.77)
CIE-LCHlch(42.52, 44.14, 104.32°)
OKLaboklab(50.08% -0.0346 0.0939)
OKLCHoklch(50.08% 0.1 110.2)
XYZxyz(10.6890, 12.8424, 2.6747)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676816 #171668
analogous
#684016 #676816 #3E6816
triadic
#676816 #166768 #681667
tetradic
#676816 #166840 #171668 #68163E
square
#676816 #166840 #171668 #68163E
split-complementary
#676816 #163E68 #401668
monochromatic
#191905 #35350B #676816 #999B21 #CBCD2B

Accessibility & contrast

On white

5.88
#676816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#676816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676816
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676816#FFFFFF#000000##FFFFFF
##6768161.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#72651D
Tritanopia (blue-blind)
#6F6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #676816;
/* rgb */ color: rgb(103, 104, 22);
/* oklch */ color: oklch(50.1% 0.100 110.2);
Tailwind
colors: {
  custom: {
    50: '#95925b',
    500: '#676816',
    950: '#000000',
  },
}
SCSS
$custom: #676816;
$custom-light: #95925b;
$custom-dark: #000000;
JSON
{
  "hex": "#676816",
  "rgb": {
    "r": 103,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 60.732,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.10004,
    "h": 110.2
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#676816
secondary
#3D3B9F
accent
#40E842
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #676816

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

Preview Lab → · Contrast checker → · Palette generator →

#676816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva