#676F12#676F12

#676F12 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.110 H 114.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#676F12
RGBrgb(103, 111, 18)
HSLhsl(65, 72%, 25%)
HSVhsv(65, 84%, 44%)
CMYKcmyk(7.2%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.65, -14.95, 46.03)
CIE-LCHlch(44.65, 48.40, 108.00°)
OKLaboklab(51.78% -0.0461 0.1)
OKLCHoklch(51.78% 0.11 114.8)
XYZxyz(11.3875, 14.2963, 2.7317)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F12 #1A126F
analogous
#6F4812 #676F12 #396F12
triadic
#676F12 #12676F #6F1267
tetradic
#676F12 #126F48 #1A126F #6F1239
square
#676F12 #126F48 #1A126F #6F1239
split-complementary
#676F12 #12396F #48126F
monochromatic
#181A04 #363A09 #676F12 #98A41B #C9D823

Accessibility & contrast

On white

5.44
#676F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#676F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676F12
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676F12#FFFFFF#000000##FFFFFF
##676F121.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#6E685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f12;
/* rgb */ color: rgb(103, 111, 18);
/* oklch */ color: oklch(51.8% 0.110 114.8);
Tailwind
colors: {
  custom: {
    50: '#96985a',
    500: '#676f12',
    950: '#000000',
  },
}
SCSS
$custom: #676f12;
$custom-light: #96985a;
$custom-dark: #000000;
JSON
{
  "hex": "#676f12",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 65.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.11016,
    "h": 114.8
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#676F12
secondary
#4037A6
accent
#39EF49
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676F12

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

Preview Lab → · Contrast checker → · Palette generator →

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