#697917#697917

#697917 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.119 H 118.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#697917
RGBrgb(105, 121, 23)
HSLhsl(70, 68%, 28%)
HSVhsv(70, 81%, 47%)
CMYKcmyk(13.2%, 0%, 81%, 52.5%)
CIE-LABlab(47.93, -19.16, 47.45)
CIE-LCHlch(47.93, 51.17, 111.98°)
OKLaboklab(54.46% -0.0574 0.1039)
OKLCHoklch(54.46% 0.119 118.9)
XYZxyz(12.8180, 16.7400, 3.3663)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697917 #271779
analogous
#795817 #697917 #387917
triadic
#697917 #176979 #791769
tetradic
#697917 #177958 #271779 #791738
square
#697917 #177958 #271779 #791738
split-complementary
#697917 #173879 #581779
monochromatic
#161A05 #3C460D #697917 #96AC21 #BDD832

Accessibility & contrast

On white

4.83
#697917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#697917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697917
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697917#FFFFFF#000000##FFFFFF
##6979171.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#707267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #697917;
/* rgb */ color: rgb(105, 121, 23);
/* oklch */ color: oklch(54.5% 0.119 118.9);
Tailwind
colors: {
  custom: {
    50: '#979f5e',
    500: '#697917',
    950: '#000000',
  },
}
SCSS
$custom: #697917;
$custom-light: #979f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#697917",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 69.796,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.11874,
    "h": 118.9
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#697917
secondary
#503EAE
accent
#3DEB59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697917

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

Preview Lab → · Contrast checker → · Palette generator →

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