#676B1F#676B1F

#676B1F is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.097 H 112.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#676B1F
RGBrgb(103, 107, 31)
HSLhsl(63, 55%, 27%)
HSVhsv(63, 71%, 42%)
CMYKcmyk(3.7%, 0%, 71%, 58%)
CIE-LABlab(43.50, -12.09, 40.13)
CIE-LCHlch(43.50, 41.91, 106.77°)
OKLaboklab(50.88% -0.037 0.09)
OKLCHoklch(50.88% 0.097 112.3)
XYZxyz(11.0989, 13.4981, 3.3168)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676B1F #231F6B
analogous
#6B491F #676B1F #416B1F
triadic
#676B1F #1F676B #6B1F67
tetradic
#676B1F #1F6B49 #231F6B #6B1F41
square
#676B1F #1F6B49 #231F6B #6B1F41
split-complementary
#676B1F #1F416B #491F6B
monochromatic
#171807 #393C11 #676B1F #959A2D #C0C73D

Accessibility & contrast

On white

5.68
#676B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#676B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676B1F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676B1F#FFFFFF#000000##FFFFFF
##676B1F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736614
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#6E645C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #676b1f;
/* rgb */ color: rgb(103, 107, 31);
/* oklch */ color: oklch(50.9% 0.097 112.3);
Tailwind
colors: {
  custom: {
    50: '#959560',
    500: '#676b1f',
    950: '#000000',
  },
}
SCSS
$custom: #676b1f;
$custom-light: #959560;
$custom-dark: #000000;
JSON
{
  "hex": "#676b1f",
  "rgb": {
    "r": 103,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 63.158,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.09731,
    "h": 112.3
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#676B1F
secondary
#4B479F
accent
#49DE51
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #676B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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