#676918#676918

#676918 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.100 H 110.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#676918
RGBrgb(103, 105, 24)
HSLhsl(61, 63%, 25%)
HSVhsv(61, 77%, 41%)
CMYKcmyk(1.9%, 0%, 77.1%, 58.8%)
CIE-LABlab(42.84, -11.38, 42.32)
CIE-LCHlch(42.84, 43.83, 105.05°)
OKLaboklab(50.34% -0.0357 0.0933)
OKLCHoklch(50.34% 0.1 110.9)
XYZxyz(10.8103, 13.0530, 2.8140)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676918 #1A1869
analogous
#694218 #676918 #3F6918
triadic
#676918 #186769 #691867
tetradic
#676918 #186942 #1A1869 #69183F
square
#676918 #186942 #1A1869 #69183F
split-complementary
#676918 #183F69 #421869
monochromatic
#181906 #36370D #676918 #989B23 #C9CD2F

Accessibility & contrast

On white

5.82
#676918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#676918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676918
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676918#FFFFFF#000000##FFFFFF
##6769181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#6F625A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #676918;
/* rgb */ color: rgb(103, 105, 24);
/* oklch */ color: oklch(50.3% 0.100 110.9);
Tailwind
colors: {
  custom: {
    50: '#95935c',
    500: '#676918',
    950: '#000000',
  },
}
SCSS
$custom: #676918;
$custom-light: #95935c;
$custom-dark: #000000;
JSON
{
  "hex": "#676918",
  "rgb": {
    "r": 103,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 61.481,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.09992,
    "h": 110.9
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#676918
secondary
#403E9F
accent
#42E646
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676918

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

Preview Lab → · Contrast checker → · Palette generator →

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