#676312#676312

#676312 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.8% C 0.097 H 106.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#676312
RGBrgb(103, 99, 18)
HSLhsl(57, 70%, 24%)
HSVhsv(57, 83%, 40%)
CMYKcmyk(0%, 3.9%, 82.5%, 59.6%)
CIE-LABlab(40.98, -8.26, 42.76)
CIE-LCHlch(40.98, 43.55, 100.94°)
OKLaboklab(48.84% -0.0276 0.093)
OKLCHoklch(48.84% 0.097 106.5)
XYZxyz(10.1650, 11.8513, 2.3242)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676312 #121667
analogous
#673812 #676312 #406712
triadic
#676312 #126763 #631267
tetradic
#676312 #126738 #121667 #671240
square
#676312 #126738 #121667 #671240
split-complementary
#676312 #124067 #381267
monochromatic
#1A1905 #333109 #676312 #9B951B #CFC724

Accessibility & contrast

On white

6.23
#676312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#676312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676312
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676312#FFFFFF#000000##FFFFFF
##6763121.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#6F5C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #676312;
/* rgb */ color: rgb(103, 99, 18);
/* oklch */ color: oklch(48.8% 0.097 106.5);
Tailwind
colors: {
  custom: {
    50: '#958f58',
    500: '#676312',
    950: '#000000',
  },
}
SCSS
$custom: #676312;
$custom-light: #958f58;
$custom-dark: #000000;
JSON
{
  "hex": "#676312",
  "rgb": {
    "r": 103,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 57.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.09703,
    "h": 106.5
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#676312
secondary
#363B9F
accent
#43ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #676312

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

Preview Lab → · Contrast checker → · Palette generator →

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