#676A18#676A18

#676A18 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.101 H 111.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#676A18
RGBrgb(103, 106, 24)
HSLhsl(62, 63%, 25%)
HSVhsv(62, 77%, 42%)
CMYKcmyk(2.8%, 0%, 77.4%, 58.4%)
CIE-LABlab(43.15, -11.94, 42.61)
CIE-LCHlch(43.15, 44.25, 105.65°)
OKLaboklab(50.58% -0.0372 0.0939)
OKLCHoklch(50.58% 0.101 111.6)
XYZxyz(10.9128, 13.2579, 2.8481)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A18 #1B186A
analogous
#6A4418 #676A18 #3E6A18
triadic
#676A18 #18676A #6A1867
tetradic
#676A18 #186A44 #1B186A #6A183E
square
#676A18 #186A44 #1B186A #6A183E
split-complementary
#676A18 #183E6A #44186A
monochromatic
#181906 #37380D #676A18 #979C23 #C8CE2F

Accessibility & contrast

On white

5.75
#676A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#676A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676A18
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A18#FFFFFF#000000##FFFFFF
##676A181.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#6F635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #676a18;
/* rgb */ color: rgb(103, 106, 24);
/* oklch */ color: oklch(50.6% 0.101 111.6);
Tailwind
colors: {
  custom: {
    50: '#95945c',
    500: '#676a18',
    950: '#000000',
  },
}
SCSS
$custom: #676a18;
$custom-light: #95945c;
$custom-dark: #000000;
JSON
{
  "hex": "#676a18",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 62.195,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.10105,
    "h": 111.6
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#676A18
secondary
#423EA0
accent
#42E648
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676A18

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

Preview Lab → · Contrast checker → · Palette generator →

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