#697212#697212

#697212 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.7% C 0.113 H 115.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#697212
RGBrgb(105, 114, 18)
HSLhsl(66, 73%, 26%)
HSVhsv(66, 84%, 45%)
CMYKcmyk(7.9%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.75, -15.64, 47.05)
CIE-LCHlch(45.75, 49.58, 108.39°)
OKLaboklab(52.7% -0.0482 0.1021)
OKLCHoklch(52.7% 0.113 115.2)
XYZxyz(11.9526, 15.0818, 2.8536)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697212 #1B1272
analogous
#724B12 #697212 #397212
triadic
#697212 #126972 #721269
tetradic
#697212 #12724B #1B1272 #721239
square
#697212 #12724B #1B1272 #721239
split-complementary
#697212 #123972 #4B1272
monochromatic
#181A04 #383D0A #697212 #9AA71A #CADC23

Accessibility & contrast

On white

5.23
#697212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#697212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697212
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697212#FFFFFF#000000##FFFFFF
##6972121.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#706B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #697212;
/* rgb */ color: rgb(105, 114, 18);
/* oklch */ color: oklch(52.7% 0.113 115.2);
Tailwind
colors: {
  custom: {
    50: '#979a5a',
    500: '#697212',
    950: '#000000',
  },
}
SCSS
$custom: #697212;
$custom-light: #979a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#697212",
  "rgb": {
    "r": 105,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 65.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52695,
    "c": 0.11292,
    "h": 115.2
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#697212
secondary
#4237A9
accent
#38EF4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #697212

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

Preview Lab → · Contrast checker → · Palette generator →

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