#697817#697817

#697817 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.2% C 0.118 H 118.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#697817
RGBrgb(105, 120, 23)
HSLhsl(69, 68%, 28%)
HSVhsv(69, 81%, 47%)
CMYKcmyk(12.5%, 0%, 80.8%, 52.9%)
CIE-LABlab(47.62, -18.63, 47.17)
CIE-LCHlch(47.62, 50.72, 111.55°)
OKLaboklab(54.21% -0.056 0.1033)
OKLCHoklch(54.21% 0.118 118.5)
XYZxyz(12.6971, 16.4982, 3.3260)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697817 #261778
analogous
#785617 #697817 #397817
triadic
#697817 #176978 #781769
tetradic
#697817 #177856 #261778 #781739
square
#697817 #177856 #261778 #781739
split-complementary
#697817 #173978 #561778
monochromatic
#161A05 #3C450D #697817 #96AB21 #BED832

Accessibility & contrast

On white

4.88
#697817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#697817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697817
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697817#FFFFFF#000000##FFFFFF
##6978171.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#707166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #697817;
/* rgb */ color: rgb(105, 120, 23);
/* oklch */ color: oklch(54.2% 0.118 118.5);
Tailwind
colors: {
  custom: {
    50: '#979e5d',
    500: '#697817',
    950: '#000000',
  },
}
SCSS
$custom: #697817;
$custom-light: #979e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#697817",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 69.278,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.11752,
    "h": 118.5
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#697817
secondary
#4F3EAD
accent
#3DEB58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697817

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

Preview Lab → · Contrast checker → · Palette generator →

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