#696217#696217

#696217 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.8% C 0.093 H 103.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#696217
RGBrgb(105, 98, 23)
HSLhsl(55, 64%, 25%)
HSVhsv(55, 78%, 41%)
CMYKcmyk(0%, 6.7%, 78.1%, 58.8%)
CIE-LABlab(40.90, -6.50, 40.93)
CIE-LCHlch(40.90, 41.44, 99.02°)
OKLaboklab(48.83% -0.0222 0.0901)
OKLCHoklch(48.83% 0.093 103.9)
XYZxyz(10.3485, 11.8009, 2.5431)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#696217 #171E69
analogous
#693917 #696217 #476917
triadic
#696217 #176962 #621769
tetradic
#696217 #176939 #171E69 #691747
square
#696217 #176939 #171E69 #691747
split-complementary
#696217 #174769 #391769
monochromatic
#191705 #37330C #696217 #9B9122 #CDC02D

Accessibility & contrast

On white

6.25
#696217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#696217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #696217
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##696217#FFFFFF#000000##FFFFFF
##6962171.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#715B54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #696217;
/* rgb */ color: rgb(105, 98, 23);
/* oklch */ color: oklch(48.8% 0.093 103.9);
Tailwind
colors: {
  custom: {
    50: '#978e5a',
    500: '#696217',
    950: '#000000',
  },
}
SCSS
$custom: #696217;
$custom-light: #978e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#696217",
  "rgb": {
    "r": 105,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 54.878,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.09279,
    "h": 103.9
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#696217
secondary
#3D459F
accent
#4FE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #696217

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

Preview Lab → · Contrast checker → · Palette generator →

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