#697017#697017

#697017 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.2% C 0.108 H 114.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#697017
RGBrgb(105, 112, 23)
HSLhsl(65, 66%, 26%)
HSVhsv(65, 79%, 44%)
CMYKcmyk(6.3%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.16, -14.35, 44.91)
CIE-LCHlch(45.16, 47.15, 107.72°)
OKLaboklab(52.23% -0.0442 0.0985)
OKLCHoklch(52.23% 0.108 114.1)
XYZxyz(11.7749, 14.6537, 3.0186)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697017 #1E1770
analogous
#704B17 #697017 #3D7017
triadic
#697017 #176970 #701769
tetradic
#697017 #17704B #1E1770 #70173D
square
#697017 #17704B #1E1770 #70173D
split-complementary
#697017 #173D70 #4B1770
monochromatic
#181905 #393D0D #697017 #99A321 #C7D42D

Accessibility & contrast

On white

5.34
#697017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#697017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697017
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697017#FFFFFF#000000##FFFFFF
##6970171.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#786C1F
Tritanopia (blue-blind)
#70695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #697017;
/* rgb */ color: rgb(105, 112, 23);
/* oklch */ color: oklch(52.2% 0.108 114.1);
Tailwind
colors: {
  custom: {
    50: '#97985c',
    500: '#697017',
    950: '#000000',
  },
}
SCSS
$custom: #697017;
$custom-light: #97985c;
$custom-dark: #000000;
JSON
{
  "hex": "#697017",
  "rgb": {
    "r": 105,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 64.719,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.10798,
    "h": 114.1
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#697017
secondary
#453DA6
accent
#3FE94C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #697017

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

Preview Lab → · Contrast checker → · Palette generator →

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