#697915#697915

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

Color values

HEX#697915
RGBrgb(105, 121, 21)
HSLhsl(70, 70%, 28%)
HSVhsv(70, 83%, 47%)
CMYKcmyk(13.2%, 0%, 82.6%, 52.5%)
CIE-LABlab(47.92, -19.24, 48.08)
CIE-LCHlch(47.92, 51.78, 111.81°)
OKLaboklab(54.45% -0.0578 0.1049)
OKLCHoklch(54.45% 0.12 118.9)
XYZxyz(12.7987, 16.7322, 3.2647)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697915 #251579
analogous
#795715 #697915 #377915
triadic
#697915 #156979 #791569
tetradic
#697915 #157957 #251579 #791537
square
#697915 #157957 #251579 #791537
split-complementary
#697915 #153779 #571579
monochromatic
#171A05 #3C450C #697915 #96AD1E #BFDB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##697915#FFFFFF#000000##FFFFFF
##6979151.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)
#80721F
Tritanopia (blue-blind)
#707267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #697915;
/* rgb */ color: rgb(105, 121, 21);
/* oklch */ color: oklch(54.4% 0.120 118.9);
Tailwind
colors: {
  custom: {
    50: '#979f5d',
    500: '#697915',
    950: '#000000',
  },
}
SCSS
$custom: #697915;
$custom-light: #979f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#697915",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 69.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.11976,
    "h": 118.9
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#697915
secondary
#4E3BAF
accent
#3BED57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697915

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

Preview Lab → · Contrast checker → · Palette generator →

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