#676B18#676B18

#676B18 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.102 H 112.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#676B18
RGBrgb(103, 107, 24)
HSLhsl(63, 63%, 26%)
HSVhsv(63, 78%, 42%)
CMYKcmyk(3.7%, 0%, 77.6%, 58%)
CIE-LABlab(43.46, -12.49, 42.90)
CIE-LCHlch(43.46, 44.68, 106.24°)
OKLaboklab(50.83% -0.0388 0.0946)
OKLCHoklch(50.83% 0.102 112.3)
XYZxyz(11.0164, 13.4652, 2.8827)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676B18 #1C186B
analogous
#6B4518 #676B18 #3D6B18
triadic
#676B18 #18676B #6B1867
tetradic
#676B18 #186B45 #1C186B #6B183D
square
#676B18 #186B45 #1C186B #6B183D
split-complementary
#676B18 #183D6B #45186B
monochromatic
#181906 #37390D #676B18 #979D23 #C7CF2E

Accessibility & contrast

On white

5.69
#676B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#676B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676B18
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676B18#FFFFFF#000000##FFFFFF
##676B181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#6E645B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #676b18;
/* rgb */ color: rgb(103, 107, 24);
/* oklch */ color: oklch(50.8% 0.102 112.3);
Tailwind
colors: {
  custom: {
    50: '#95955c',
    500: '#676b18',
    950: '#000000',
  },
}
SCSS
$custom: #676b18;
$custom-light: #95955c;
$custom-dark: #000000;
JSON
{
  "hex": "#676b18",
  "rgb": {
    "r": 103,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 62.892,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.1022,
    "h": 112.3
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#676B18
secondary
#433EA1
accent
#41E649
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676B18

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

Preview Lab → · Contrast checker → · Palette generator →

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