#676815#676815

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

Color values

HEX#676815
RGBrgb(103, 104, 21)
HSLhsl(61, 66%, 25%)
HSVhsv(61, 80%, 41%)
CMYKcmyk(1%, 0%, 79.8%, 59.2%)
CIE-LABlab(42.52, -10.96, 43.12)
CIE-LCHlch(42.52, 44.49, 104.27°)
OKLaboklab(50.07% -0.0348 0.0944)
OKLCHoklch(50.07% 0.101 110.3)
XYZxyz(10.6796, 12.8386, 2.6249)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676815 #161568
analogous
#684015 #676815 #3E6815
triadic
#676815 #156768 #681567
tetradic
#676815 #156840 #161568 #68153E
square
#676815 #156840 #161568 #68153E
split-complementary
#676815 #153E68 #401568
monochromatic
#191905 #35350B #676815 #999B1F #CCCE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##676815#FFFFFF#000000##FFFFFF
##6768151.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)
#716302
Deuteranopia (green-blind)
#72651C
Tritanopia (blue-blind)
#6F6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #676815;
/* rgb */ color: rgb(103, 104, 21);
/* oklch */ color: oklch(50.1% 0.101 110.3);
Tailwind
colors: {
  custom: {
    50: '#95925a',
    500: '#676815',
    950: '#000000',
  },
}
SCSS
$custom: #676815;
$custom-light: #95925a;
$custom-dark: #000000;
JSON
{
  "hex": "#676815",
  "rgb": {
    "r": 103,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 60.723,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.10063,
    "h": 110.3
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#676815
secondary
#3B3A9F
accent
#3EE941
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #676815

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

Preview Lab → · Contrast checker → · Palette generator →

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