#676E18#676E18

#676E18 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.106 H 114.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#676E18
RGBrgb(103, 110, 24)
HSLhsl(65, 64%, 26%)
HSVhsv(65, 78%, 43%)
CMYKcmyk(6.4%, 0%, 78.2%, 56.9%)
CIE-LABlab(44.38, -14.14, 43.77)
CIE-LCHlch(44.38, 46.00, 107.91°)
OKLaboklab(51.57% -0.0434 0.0964)
OKLCHoklch(51.57% 0.106 114.2)
XYZxyz(11.3347, 14.1016, 2.9888)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676E18 #1F186E
analogous
#6E4A18 #676E18 #3C6E18
triadic
#676E18 #18676E #6E1867
tetradic
#676E18 #186E4A #1F186E #6E183C
square
#676E18 #186E4A #1F186E #6E183C
split-complementary
#676E18 #183C6E #4A186E
monochromatic
#181905 #383C0D #676E18 #96A023 #C4D22F

Accessibility & contrast

On white

5.50
#676E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#676E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676E18
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676E18#FFFFFF#000000##FFFFFF
##676E181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776805
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#6E675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #676e18;
/* rgb */ color: rgb(103, 110, 24);
/* oklch */ color: oklch(51.6% 0.106 114.2);
Tailwind
colors: {
  custom: {
    50: '#95975c',
    500: '#676e18',
    950: '#000000',
  },
}
SCSS
$custom: #676e18;
$custom-light: #95975c;
$custom-dark: #000000;
JSON
{
  "hex": "#676e18",
  "rgb": {
    "r": 103,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 64.884,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.10569,
    "h": 114.2
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#676E18
secondary
#463EA4
accent
#41E74E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676E18

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

Preview Lab → · Contrast checker → · Palette generator →

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