#676F18#676F18

#676F18 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.107 H 114.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#676F18
RGBrgb(103, 111, 24)
HSLhsl(66, 64%, 26%)
HSVhsv(66, 78%, 44%)
CMYKcmyk(7.2%, 0%, 78.4%, 56.5%)
CIE-LABlab(44.69, -14.69, 44.06)
CIE-LCHlch(44.69, 46.44, 108.44°)
OKLaboklab(51.81% -0.0449 0.097)
OKLCHoklch(51.81% 0.107 114.8)
XYZxyz(11.4432, 14.3186, 3.0249)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F18 #20186F
analogous
#6F4C18 #676F18 #3C6F18
triadic
#676F18 #18676F #6F1867
tetradic
#676F18 #186F4C #20186F #6F183C
square
#676F18 #186F4C #20186F #6F183C
split-complementary
#676F18 #183C6F #4C186F
monochromatic
#171905 #383D0D #676F18 #96A123 #C3D22F

Accessibility & contrast

On white

5.44
#676F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#676F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676F18
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676F18#FFFFFF#000000##FFFFFF
##676F181.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#6E685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f18;
/* rgb */ color: rgb(103, 111, 24);
/* oklch */ color: oklch(51.8% 0.107 114.8);
Tailwind
colors: {
  custom: {
    50: '#95985d',
    500: '#676f18',
    950: '#000000',
  },
}
SCSS
$custom: #676f18;
$custom-light: #95985d;
$custom-dark: #000000;
JSON
{
  "hex": "#676f18",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 65.517,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.10688,
    "h": 114.8
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#676F18
secondary
#483EA5
accent
#40E750
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676F18

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

Preview Lab → · Contrast checker → · Palette generator →

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