#676A17#676A17

#676A17 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.102 H 111.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#676A17
RGBrgb(103, 106, 23)
HSLhsl(62, 64%, 25%)
HSVhsv(62, 78%, 42%)
CMYKcmyk(2.8%, 0%, 78.3%, 58.4%)
CIE-LABlab(43.14, -11.99, 42.98)
CIE-LCHlch(43.14, 44.62, 105.58°)
OKLaboklab(50.57% -0.0375 0.0945)
OKLCHoklch(50.57% 0.102 111.6)
XYZxyz(10.9026, 13.2538, 2.7944)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A17 #1A176A
analogous
#6A4417 #676A17 #3D6A17
triadic
#676A17 #17676A #6A1767
tetradic
#676A17 #176A44 #1A176A #6A173D
square
#676A17 #176A44 #1A176A #6A173D
split-complementary
#676A17 #173D6A #44176A
monochromatic
#181905 #36380C #676A17 #989C22 #C9CF2D

Accessibility & contrast

On white

5.75
#676A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#676A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676A17
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A17#FFFFFF#000000##FFFFFF
##676A171.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#6F635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #676a17;
/* rgb */ color: rgb(103, 106, 23);
/* oklch */ color: oklch(50.6% 0.102 111.6);
Tailwind
colors: {
  custom: {
    50: '#95945b',
    500: '#676a17',
    950: '#000000',
  },
}
SCSS
$custom: #676a17;
$custom-light: #95945b;
$custom-dark: #000000;
JSON
{
  "hex": "#676a17",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 62.169,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.10167,
    "h": 111.6
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#676A17
secondary
#403DA0
accent
#40E746
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676A17

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

Preview Lab → · Contrast checker → · Palette generator →

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