#676D12#676D12

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

Color values

HEX#676D12
RGBrgb(103, 109, 18)
HSLhsl(64, 72%, 25%)
HSVhsv(64, 83%, 43%)
CMYKcmyk(5.5%, 0%, 83.5%, 57.3%)
CIE-LABlab(44.04, -13.86, 45.48)
CIE-LCHlch(44.04, 47.55, 106.95°)
OKLaboklab(51.28% -0.0431 0.0989)
OKLCHoklch(51.28% 0.108 113.6)
XYZxyz(11.1717, 13.8648, 2.6598)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676D12 #18126D
analogous
#6D4612 #676D12 #3A6D12
triadic
#676D12 #12676D #6D1267
tetradic
#676D12 #126D46 #18126D #6D123A
square
#676D12 #126D46 #18126D #6D123A
split-complementary
#676D12 #123A6D #46126D
monochromatic
#191A04 #353809 #676D12 #99A21B #CAD623

Accessibility & contrast

On white

5.57
#676D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#676D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676D12
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676D12#FFFFFF#000000##FFFFFF
##676D121.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#6F665C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #676d12;
/* rgb */ color: rgb(103, 109, 18);
/* oklch */ color: oklch(51.3% 0.108 113.6);
Tailwind
colors: {
  custom: {
    50: '#95965a',
    500: '#676d12',
    950: '#000000',
  },
}
SCSS
$custom: #676d12;
$custom-light: #95965a;
$custom-dark: #000000;
JSON
{
  "hex": "#676d12",
  "rgb": {
    "r": 103,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 63.956,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.10786,
    "h": 113.6
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#676D12
secondary
#3E37A4
accent
#39EE45
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676D12

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

Preview Lab → · Contrast checker → · Palette generator →

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