#676828#676828

#676828 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.086 H 110.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#676828
RGBrgb(103, 104, 40)
HSLhsl(61, 44%, 28%)
HSVhsv(61, 62%, 41%)
CMYKcmyk(1%, 0%, 61.5%, 59.2%)
CIE-LABlab(42.67, -9.76, 35.07)
CIE-LCHlch(42.67, 36.40, 105.56°)
OKLaboklab(50.24% -0.0293 0.0808)
OKLCHoklch(50.24% 0.086 110)
XYZxyz(10.9271, 12.9377, 3.9287)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676828 #292868
analogous
#684928 #676828 #476828
triadic
#676828 #286768 #682867
tetradic
#676828 #286849 #292868 #682847
square
#676828 #286849 #292868 #682847
split-complementary
#676828 #284768 #492868
monochromatic
#161609 #3B3C17 #676828 #939439 #BABB4F

Accessibility & contrast

On white

5.85
#676828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#676828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676828
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676828#FFFFFF#000000##FFFFFF
##6768281.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706421
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#6E625A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #676828;
/* rgb */ color: rgb(103, 104, 40);
/* oklch */ color: oklch(50.2% 0.086 110.0);
Tailwind
colors: {
  custom: {
    50: '#949365',
    500: '#676828',
    950: '#000000',
  },
}
SCSS
$custom: #676828;
$custom-light: #949365;
$custom-dark: #000000;
JSON
{
  "hex": "#676828",
  "rgb": {
    "r": 103,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 60.938,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.08592,
    "h": 110
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#676828
secondary
#52519B
accent
#54D456
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #676828

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

Preview Lab → · Contrast checker → · Palette generator →

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