#697818#697818

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

Color values

HEX#697818
RGBrgb(105, 120, 24)
HSLhsl(69, 67%, 28%)
HSVhsv(69, 80%, 47%)
CMYKcmyk(12.5%, 0%, 80%, 52.9%)
CIE-LABlab(47.63, -18.59, 46.85)
CIE-LCHlch(47.63, 50.40, 111.64°)
OKLaboklab(54.22% -0.0558 0.1028)
OKLCHoklch(54.22% 0.117 118.5)
XYZxyz(12.7073, 16.5023, 3.3798)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697818 #271878
analogous
#785718 #697818 #397818
triadic
#697818 #186978 #781869
tetradic
#697818 #187857 #271878 #781839
square
#697818 #187857 #271878 #781839
split-complementary
#697818 #183978 #571878
monochromatic
#161A05 #3C450E #697818 #96AB22 #BDD634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##697818#FFFFFF#000000##FFFFFF
##6978181.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)
#7F7121
Tritanopia (blue-blind)
#707166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #697818;
/* rgb */ color: rgb(105, 120, 24);
/* oklch */ color: oklch(54.2% 0.117 118.5);
Tailwind
colors: {
  custom: {
    50: '#979e5e',
    500: '#697818',
    950: '#000000',
  },
}
SCSS
$custom: #697818;
$custom-light: #979e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#697818",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 69.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.11698,
    "h": 118.5
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#697818
secondary
#503FAD
accent
#3EEA59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697818

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

Preview Lab → · Contrast checker → · Palette generator →

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