#696212#696212

#696212 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.8% C 0.096 H 104.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#696212
RGBrgb(105, 98, 18)
HSLhsl(55, 71%, 24%)
HSVhsv(55, 83%, 41%)
CMYKcmyk(0%, 6.7%, 82.9%, 58.8%)
CIE-LABlab(40.87, -6.72, 42.73)
CIE-LCHlch(40.87, 43.26, 98.94°)
OKLaboklab(48.8% -0.0234 0.0929)
OKLCHoklch(48.8% 0.096 104.1)
XYZxyz(10.3030, 11.7827, 2.3037)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#696212 #121969
analogous
#693712 #696212 #456912
triadic
#696212 #126962 #621269
tetradic
#696212 #126937 #121969 #691245
square
#696212 #126937 #121969 #691245
split-complementary
#696212 #124569 #371269
monochromatic
#1A1804 #353109 #696212 #9D931B #D1C424

Accessibility & contrast

On white

6.26
#696212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#696212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #696212
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##696212#FFFFFF#000000##FFFFFF
##6962121.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#725B53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #696212;
/* rgb */ color: rgb(105, 98, 18);
/* oklch */ color: oklch(48.8% 0.096 104.1);
Tailwind
colors: {
  custom: {
    50: '#978e58',
    500: '#696212',
    950: '#000000',
  },
}
SCSS
$custom: #696212;
$custom-light: #978e58;
$custom-dark: #000000;
JSON
{
  "hex": "#696212",
  "rgb": {
    "r": 105,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 55.172,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.09577,
    "h": 104.1
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#696212
secondary
#363FA1
accent
#49ED3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #696212

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

Preview Lab → · Contrast checker → · Palette generator →

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