#676812#676812

#676812 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.102 H 110.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#676812
RGBrgb(103, 104, 18)
HSLhsl(61, 70%, 24%)
HSVhsv(61, 83%, 41%)
CMYKcmyk(1%, 0%, 82.7%, 59.2%)
CIE-LABlab(42.50, -11.09, 44.12)
CIE-LCHlch(42.50, 45.49, 104.11°)
OKLaboklab(50.05% -0.0355 0.0959)
OKLCHoklch(50.05% 0.102 110.3)
XYZxyz(10.6534, 12.8282, 2.4870)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676812 #131268
analogous
#683E12 #676812 #3C6812
triadic
#676812 #126768 #681267
tetradic
#676812 #12683E #131268 #68123C
square
#676812 #12683E #131268 #68123C
split-complementary
#676812 #123C68 #3E1268
monochromatic
#1A1A05 #333409 #676812 #9B9C1B #CED024

Accessibility & contrast

On white

5.89
#676812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#676812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676812
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676812#FFFFFF#000000##FFFFFF
##6768121.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#72651A
Tritanopia (blue-blind)
#6F6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #676812;
/* rgb */ color: rgb(103, 104, 18);
/* oklch */ color: oklch(50.1% 0.102 110.3);
Tailwind
colors: {
  custom: {
    50: '#959259',
    500: '#676812',
    950: '#000000',
  },
}
SCSS
$custom: #676812;
$custom-light: #959259;
$custom-dark: #000000;
JSON
{
  "hex": "#676812",
  "rgb": {
    "r": 103,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 60.698,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.10228,
    "h": 110.3
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#676812
secondary
#3736A0
accent
#3BED3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #676812

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

Preview Lab → · Contrast checker → · Palette generator →

#676812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva