#676912#676912

#676912 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.3% C 0.103 H 111.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#676912
RGBrgb(103, 105, 18)
HSLhsl(61, 71%, 24%)
HSVhsv(61, 83%, 41%)
CMYKcmyk(1.9%, 0%, 82.9%, 58.8%)
CIE-LABlab(42.81, -11.65, 44.39)
CIE-LCHlch(42.81, 45.90, 104.71°)
OKLaboklab(50.3% -0.037 0.0965)
OKLCHoklch(50.3% 0.103 111)
XYZxyz(10.7547, 13.0307, 2.5208)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676912 #141269
analogous
#694012 #676912 #3C6912
triadic
#676912 #126769 #691267
tetradic
#676912 #126940 #141269 #69123C
square
#676912 #126940 #141269 #69123C
split-complementary
#676912 #123C69 #401269
monochromatic
#1A1A04 #343509 #676912 #9A9D1B #CED124

Accessibility & contrast

On white

5.82
#676912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#676912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676912
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676912#FFFFFF#000000##FFFFFF
##6769121.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#73661A
Tritanopia (blue-blind)
#6F6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #676912;
/* rgb */ color: rgb(103, 105, 18);
/* oklch */ color: oklch(50.3% 0.103 111.0);
Tailwind
colors: {
  custom: {
    50: '#959359',
    500: '#676912',
    950: '#000000',
  },
}
SCSS
$custom: #676912;
$custom-light: #959359;
$custom-dark: #000000;
JSON
{
  "hex": "#676912",
  "rgb": {
    "r": 103,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 61.379,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.10339,
    "h": 111
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#676912
secondary
#3936A1
accent
#3AED3E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676912

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

Preview Lab → · Contrast checker → · Palette generator →

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