#697226#697226

#697226 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.8% C 0.100 H 115.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#697226
RGBrgb(105, 114, 38)
HSLhsl(67, 50%, 30%)
HSVhsv(67, 67%, 45%)
CMYKcmyk(7.9%, 0%, 66.7%, 55.3%)
CIE-LABlab(45.88, -14.54, 39.54)
CIE-LCHlch(45.88, 42.13, 110.19°)
OKLaboklab(52.84% -0.0431 0.0899)
OKLCHoklch(52.84% 0.1 115.6)
XYZxyz(12.1931, 15.1780, 4.1207)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697226 #2F2672
analogous
#725526 #697226 #437226
triadic
#697226 #266972 #722669
tetradic
#697226 #267255 #2F2672 #722643
square
#697226 #267255 #2F2672 #722643
split-complementary
#697226 #264372 #552672
monochromatic
#151708 #3F4417 #697226 #93A035 #B6C44E

Accessibility & contrast

On white

5.20
#697226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#697226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #697226
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##697226#FFFFFF#000000##FFFFFF
##6972261.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1C
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#706B62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #697226;
/* rgb */ color: rgb(105, 114, 38);
/* oklch */ color: oklch(52.8% 0.100 115.6);
Tailwind
colors: {
  custom: {
    50: '#969a64',
    500: '#697226',
    950: '#000000',
  },
}
SCSS
$custom: #697226;
$custom-light: #969a64;
$custom-dark: #000000;
JSON
{
  "hex": "#697226",
  "rgb": {
    "r": 105,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 67.105,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.09971,
    "h": 115.6
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#697226
secondary
#594FA5
accent
#4EDA5F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #697226

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

Preview Lab → · Contrast checker → · Palette generator →

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