#676D18#676D18

#676D18 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.105 H 113.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#676D18
RGBrgb(103, 109, 24)
HSLhsl(64, 64%, 26%)
HSVhsv(64, 78%, 43%)
CMYKcmyk(5.5%, 0%, 78%, 57.3%)
CIE-LABlab(44.07, -13.59, 43.48)
CIE-LCHlch(44.07, 45.56, 107.36°)
OKLaboklab(51.32% -0.0419 0.0958)
OKLCHoklch(51.32% 0.105 113.6)
XYZxyz(11.2274, 13.8870, 2.9530)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676D18 #1E186D
analogous
#6D4818 #676D18 #3C6D18
triadic
#676D18 #18676D #6D1867
tetradic
#676D18 #186D48 #1E186D #6D183C
square
#676D18 #186D48 #1E186D #6D183C
split-complementary
#676D18 #183C6D #48186D
monochromatic
#181906 #383B0D #676D18 #969F23 #C6D12E

Accessibility & contrast

On white

5.56
#676D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#676D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676D18
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676D18#FFFFFF#000000##FFFFFF
##676D181.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766706
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#6E665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #676d18;
/* rgb */ color: rgb(103, 109, 24);
/* oklch */ color: oklch(51.3% 0.105 113.6);
Tailwind
colors: {
  custom: {
    50: '#95965c',
    500: '#676d18',
    950: '#000000',
  },
}
SCSS
$custom: #676d18;
$custom-light: #95965c;
$custom-dark: #000000;
JSON
{
  "hex": "#676d18",
  "rgb": {
    "r": 103,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 64.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51319,
    "c": 0.10452,
    "h": 113.6
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#676D18
secondary
#453EA3
accent
#41E74D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676D18

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

Preview Lab → · Contrast checker → · Palette generator →

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