#676A12#676A12

#676A12 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.104 H 111.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#676A12
RGBrgb(103, 106, 18)
HSLhsl(62, 71%, 24%)
HSVhsv(62, 83%, 42%)
CMYKcmyk(2.8%, 0%, 83%, 58.4%)
CIE-LABlab(43.12, -12.21, 44.67)
CIE-LCHlch(43.12, 46.30, 105.29°)
OKLaboklab(50.54% -0.0386 0.0971)
OKLCHoklch(50.54% 0.104 111.7)
XYZxyz(10.8571, 13.2356, 2.5550)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A12 #15126A
analogous
#6A4112 #676A12 #3B6A12
triadic
#676A12 #12676A #6A1267
tetradic
#676A12 #126A41 #15126A #6A123B
square
#676A12 #126A41 #15126A #6A123B
split-complementary
#676A12 #123B6A #41126A
monochromatic
#191A04 #343609 #676A12 #9A9E1B #CDD324

Accessibility & contrast

On white

5.76
#676A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #676A12
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A12#FFFFFF#000000##FFFFFF
##676A121.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #676a12;
/* rgb */ color: rgb(103, 106, 18);
/* oklch */ color: oklch(50.5% 0.104 111.7);
Tailwind
colors: {
  custom: {
    50: '#959459',
    500: '#676a12',
    950: '#000000',
  },
}
SCSS
$custom: #676a12;
$custom-light: #959459;
$custom-dark: #000000;
JSON
{
  "hex": "#676a12",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 62.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.10449,
    "h": 111.7
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#676A12
secondary
#3A36A2
accent
#3AEE40
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676A12

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

Preview Lab → · Contrast checker → · Palette generator →

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