#697918#697918

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

Color values

HEX#697918
RGBrgb(105, 121, 24)
HSLhsl(70, 67%, 28%)
HSVhsv(70, 80%, 47%)
CMYKcmyk(13.2%, 0%, 80.2%, 52.5%)
CIE-LABlab(47.94, -19.11, 47.13)
CIE-LCHlch(47.94, 50.86, 112.07°)
OKLaboklab(54.47% -0.0572 0.1034)
OKLCHoklch(54.47% 0.118 119)
XYZxyz(12.8282, 16.7440, 3.4201)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697918 #281879
analogous
#795818 #697918 #387918
triadic
#697918 #186979 #791869
tetradic
#697918 #187958 #281879 #791838
square
#697918 #187958 #281879 #791838
split-complementary
#697918 #183879 #581879
monochromatic
#161A05 #3D460E #697918 #95AC22 #BCD735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##697918#FFFFFF#000000##FFFFFF
##6979181.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: #697918;
/* rgb */ color: rgb(105, 121, 24);
/* oklch */ color: oklch(54.5% 0.118 119.0);
Tailwind
colors: {
  custom: {
    50: '#979f5e',
    500: '#697918',
    950: '#000000',
  },
}
SCSS
$custom: #697918;
$custom-light: #979f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#697918",
  "rgb": {
    "r": 105,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 69.897,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.1182,
    "h": 119
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#697918
secondary
#513FAE
accent
#3EEA5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697918

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

Preview Lab → · Contrast checker → · Palette generator →

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