#676C12#676C12

#676C12 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.0% C 0.107 H 113.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#676C12
RGBrgb(103, 108, 18)
HSLhsl(63, 71%, 25%)
HSVhsv(63, 83%, 42%)
CMYKcmyk(4.6%, 0%, 83.3%, 57.6%)
CIE-LABlab(43.73, -13.31, 45.21)
CIE-LCHlch(43.73, 47.13, 106.41°)
OKLaboklab(51.04% -0.0416 0.0983)
OKLCHoklch(51.04% 0.107 113)
XYZxyz(11.0656, 13.6526, 2.6245)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676C12 #17126C
analogous
#6C4412 #676C12 #3A6C12
triadic
#676C12 #12676C #6C1267
tetradic
#676C12 #126C44 #17126C #6C123A
square
#676C12 #126C44 #17126C #6C123A
split-complementary
#676C12 #123A6C #44126C
monochromatic
#191A04 #353809 #676C12 #99A01B #CBD523

Accessibility & contrast

On white

5.63
#676C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#676C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676C12
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676C12#FFFFFF#000000##FFFFFF
##676C121.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#6F655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #676c12;
/* rgb */ color: rgb(103, 108, 18);
/* oklch */ color: oklch(51.0% 0.107 113.0);
Tailwind
colors: {
  custom: {
    50: '#959559',
    500: '#676c12',
    950: '#000000',
  },
}
SCSS
$custom: #676c12;
$custom-light: #959559;
$custom-dark: #000000;
JSON
{
  "hex": "#676c12",
  "rgb": {
    "r": 103,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 63.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.10673,
    "h": 113
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#676C12
secondary
#3C36A3
accent
#3AEE44
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676C12

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

Preview Lab → · Contrast checker → · Palette generator →

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