#697312#697312

#697312 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.114 H 115.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#697312
RGBrgb(105, 115, 18)
HSLhsl(66, 73%, 26%)
HSVhsv(66, 84%, 45%)
CMYKcmyk(8.7%, 0%, 84.3%, 54.9%)
CIE-LABlab(46.05, -16.18, 47.32)
CIE-LCHlch(46.05, 50.01, 108.88°)
OKLaboklab(52.94% -0.0496 0.1027)
OKLCHoklch(52.94% 0.114 115.8)
XYZxyz(12.0660, 15.3086, 2.8914)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697312 #1C1273
analogous
#734C12 #697312 #387312
triadic
#697312 #126973 #731269
tetradic
#697312 #12734C #1C1273 #731238
square
#697312 #12734C #1C1273 #731238
split-complementary
#697312 #123873 #4C1273
monochromatic
#181A04 #393E0A #697312 #99A81A #C9DD23

Accessibility & contrast

On white

5.17
#697312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#697312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697312
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697312#FFFFFF#000000##FFFFFF
##6973121.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#706C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #697312;
/* rgb */ color: rgb(105, 115, 18);
/* oklch */ color: oklch(52.9% 0.114 115.8);
Tailwind
colors: {
  custom: {
    50: '#979b5b',
    500: '#697312',
    950: '#000000',
  },
}
SCSS
$custom: #697312;
$custom-light: #979b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#697312",
  "rgb": {
    "r": 105,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 66.186,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.11408,
    "h": 115.8
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#697312
secondary
#4337AA
accent
#38F04B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #697312

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

Preview Lab → · Contrast checker → · Palette generator →

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