#676818#676818

#676818 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.1% C 0.099 H 110.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#676818
RGBrgb(103, 104, 24)
HSLhsl(61, 63%, 25%)
HSVhsv(61, 77%, 41%)
CMYKcmyk(1%, 0%, 76.9%, 59.2%)
CIE-LABlab(42.54, -10.82, 42.03)
CIE-LCHlch(42.54, 43.40, 104.44°)
OKLaboklab(50.09% -0.0341 0.0927)
OKLCHoklch(50.09% 0.099 110.2)
XYZxyz(10.7091, 12.8504, 2.7802)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676818 #191868
analogous
#684118 #676818 #3F6818
triadic
#676818 #186768 #681867
tetradic
#676818 #186841 #191868 #68183F
square
#676818 #186841 #191868 #68183F
split-complementary
#676818 #183F68 #411868
monochromatic
#191906 #36360D #676818 #989A23 #C9CB2F

Accessibility & contrast

On white

5.88
#676818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#676818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676818
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676818#FFFFFF#000000##FFFFFF
##6768181.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716308
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#6F6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #676818;
/* rgb */ color: rgb(103, 104, 24);
/* oklch */ color: oklch(50.1% 0.099 110.2);
Tailwind
colors: {
  custom: {
    50: '#95925c',
    500: '#676818',
    950: '#000000',
  },
}
SCSS
$custom: #676818;
$custom-light: #95925c;
$custom-dark: #000000;
JSON
{
  "hex": "#676818",
  "rgb": {
    "r": 103,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 60.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.0988,
    "h": 110.2
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#676818
secondary
#3F3E9E
accent
#42E644
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #676818

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

Preview Lab → · Contrast checker → · Palette generator →

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