#697717#697717

#697717 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.0% C 0.116 H 118.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#697717
RGBrgb(105, 119, 23)
HSLhsl(69, 68%, 28%)
HSVhsv(69, 81%, 47%)
CMYKcmyk(11.8%, 0%, 80.7%, 53.3%)
CIE-LABlab(47.31, -18.10, 46.89)
CIE-LCHlch(47.31, 50.26, 111.11°)
OKLaboklab(53.96% -0.0545 0.1027)
OKLCHoklch(53.96% 0.116 118)
XYZxyz(12.5775, 16.2589, 3.2861)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697717 #251777
analogous
#775517 #697717 #397717
triadic
#697717 #176977 #771769
tetradic
#697717 #177755 #251777 #771739
square
#697717 #177755 #251777 #771739
split-complementary
#697717 #173977 #551777
monochromatic
#171A05 #3C440D #697717 #96AA21 #BFD731

Accessibility & contrast

On white

4.94
#697717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#697717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697717
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697717#FFFFFF#000000##FFFFFF
##6977171.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#707065
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #697717;
/* rgb */ color: rgb(105, 119, 23);
/* oklch */ color: oklch(54.0% 0.116 118.0);
Tailwind
colors: {
  custom: {
    50: '#979e5d',
    500: '#697717',
    950: '#000000',
  },
}
SCSS
$custom: #697717;
$custom-light: #979e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#697717",
  "rgb": {
    "r": 105,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 68.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.11631,
    "h": 118
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#697717
secondary
#4E3EAC
accent
#3DEA57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697717

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

Preview Lab → · Contrast checker → · Palette generator →

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