#676212#676212

#676212 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.6% C 0.096 H 105.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#676212
RGBrgb(103, 98, 18)
HSLhsl(56, 70%, 24%)
HSVhsv(56, 83%, 40%)
CMYKcmyk(0%, 4.9%, 82.5%, 59.6%)
CIE-LABlab(40.68, -7.69, 42.49)
CIE-LCHlch(40.68, 43.18, 100.26°)
OKLaboklab(48.6% -0.026 0.0924)
OKLCHoklch(48.6% 0.096 105.7)
XYZxyz(10.0708, 11.6630, 2.2929)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676212 #121767
analogous
#673712 #676212 #416712
triadic
#676212 #126762 #621267
tetradic
#676212 #126737 #121767 #671241
square
#676212 #126737 #121767 #671241
split-complementary
#676212 #124167 #371267
monochromatic
#1A1905 #333009 #676212 #9B941B #CFC524

Accessibility & contrast

On white

6.30
#676212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#676212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676212
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676212#FFFFFF#000000##FFFFFF
##6762121.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#6F5B53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #676212;
/* rgb */ color: rgb(103, 98, 18);
/* oklch */ color: oklch(48.6% 0.096 105.7);
Tailwind
colors: {
  custom: {
    50: '#968e58',
    500: '#676212',
    950: '#000000',
  },
}
SCSS
$custom: #676212;
$custom-light: #968e58;
$custom-dark: #000000;
JSON
{
  "hex": "#676212",
  "rgb": {
    "r": 103,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 56.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.09602,
    "h": 105.7
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#676212
secondary
#363C9F
accent
#45ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #676212

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

Preview Lab → · Contrast checker → · Palette generator →

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