#697217#697217

#697217 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.7% C 0.110 H 115.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#697217
RGBrgb(105, 114, 23)
HSLhsl(66, 66%, 27%)
HSVhsv(66, 80%, 45%)
CMYKcmyk(7.9%, 0%, 79.8%, 55.3%)
CIE-LABlab(45.77, -15.43, 45.48)
CIE-LCHlch(45.77, 48.02, 108.75°)
OKLaboklab(52.72% -0.0472 0.0997)
OKLCHoklch(52.72% 0.11 115.3)
XYZxyz(11.9980, 15.1000, 3.0930)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697217 #201772
analogous
#724E17 #697217 #3C7217
triadic
#697217 #176972 #721769
tetradic
#697217 #17724E #201772 #72173C
square
#697217 #17724E #201772 #72173C
split-complementary
#697217 #173C72 #4E1772
monochromatic
#171905 #3A3F0D #697217 #98A521 #C4D52E

Accessibility & contrast

On white

5.22
#697217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#697217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697217
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697217#FFFFFF#000000##FFFFFF
##6972171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C01
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#706B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #697217;
/* rgb */ color: rgb(105, 114, 23);
/* oklch */ color: oklch(52.7% 0.110 115.3);
Tailwind
colors: {
  custom: {
    50: '#979a5d',
    500: '#697217',
    950: '#000000',
  },
}
SCSS
$custom: #697217;
$custom-light: #979a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#697217",
  "rgb": {
    "r": 105,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 65.934,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.11032,
    "h": 115.3
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#697217
secondary
#483DA8
accent
#3EE94F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #697217

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

Preview Lab → · Contrast checker → · Palette generator →

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