#676C1F#676C1F

#676C1F is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.099 H 113.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#676C1F
RGBrgb(103, 108, 31)
HSLhsl(64, 55%, 27%)
HSVhsv(64, 71%, 42%)
CMYKcmyk(4.6%, 0%, 71.3%, 57.6%)
CIE-LABlab(43.81, -12.65, 40.44)
CIE-LCHlch(43.81, 42.37, 107.37°)
OKLaboklab(51.13% -0.0385 0.0907)
OKLCHoklch(51.13% 0.099 113)
XYZxyz(11.2037, 13.7079, 3.3517)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676C1F #241F6C
analogous
#6C4B1F #676C1F #416C1F
triadic
#676C1F #1F676C #6C1F67
tetradic
#676C1F #1F6C4B #241F6C #6C1F41
square
#676C1F #1F6C4B #241F6C #6C1F41
split-complementary
#676C1F #1F416C #4B1F6C
monochromatic
#171807 #3A3C11 #676C1F #949C2D #BFC83E

Accessibility & contrast

On white

5.61
#676C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#676C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676C1F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676C1F#FFFFFF#000000##FFFFFF
##676C1F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#6E655D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #676c1f;
/* rgb */ color: rgb(103, 108, 31);
/* oklch */ color: oklch(51.1% 0.099 113.0);
Tailwind
colors: {
  custom: {
    50: '#959660',
    500: '#676c1f',
    950: '#000000',
  },
}
SCSS
$custom: #676c1f;
$custom-light: #959660;
$custom-dark: #000000;
JSON
{
  "hex": "#676c1f",
  "rgb": {
    "r": 103,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 63.896,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.09852,
    "h": 113
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#676C1F
secondary
#4C47A0
accent
#49DF53
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #676C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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