#697815#697815

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

Color values

HEX#697815
RGBrgb(105, 120, 21)
HSLhsl(69, 70%, 28%)
HSVhsv(69, 83%, 47%)
CMYKcmyk(12.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(47.61, -18.72, 47.80)
CIE-LCHlch(47.61, 51.33, 111.39°)
OKLaboklab(54.2% -0.0564 0.1043)
OKLCHoklch(54.2% 0.119 118.4)
XYZxyz(12.6778, 16.4905, 3.2244)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697815 #241578
analogous
#785615 #697815 #377815
triadic
#697815 #156978 #781569
tetradic
#697815 #157856 #241578 #781537
square
#697815 #157856 #241578 #781537
split-complementary
#697815 #153778 #561578
monochromatic
#171A05 #3B440C #697815 #97AC1E #C0DA2D

Accessibility & contrast

On white

4.89
#697815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #697815
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697815#FFFFFF#000000##FFFFFF
##6978151.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #697815;
/* rgb */ color: rgb(105, 120, 21);
/* oklch */ color: oklch(54.2% 0.119 118.4);
Tailwind
colors: {
  custom: {
    50: '#979e5d',
    500: '#697815',
    950: '#000000',
  },
}
SCSS
$custom: #697815;
$custom-light: #979e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#697815",
  "rgb": {
    "r": 105,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 69.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54199,
    "c": 0.11855,
    "h": 118.4
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#697815
secondary
#4D3BAE
accent
#3BED56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #697815

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

Preview Lab → · Contrast checker → · Palette generator →

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