#697227#697227

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

Color values

HEX#697227
RGBrgb(105, 114, 39)
HSLhsl(67, 49%, 30%)
HSVhsv(67, 66%, 45%)
CMYKcmyk(7.9%, 0%, 65.8%, 55.3%)
CIE-LABlab(45.89, -14.47, 39.09)
CIE-LCHlch(45.89, 41.68, 110.31°)
OKLaboklab(52.85% -0.0428 0.0891)
OKLCHoklch(52.85% 0.099 115.7)
XYZxyz(12.2095, 15.1845, 4.2068)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697227 #302772
analogous
#725627 #697227 #437227
triadic
#697227 #276972 #722769
tetradic
#697227 #277256 #302772 #722743
square
#697227 #277256 #302772 #722743
split-complementary
#697227 #274372 #562772
monochromatic
#151708 #3F4417 #697227 #93A037 #B5C350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##697227#FFFFFF#000000##FFFFFF
##6972271.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)
#7A6C1E
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#706C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #697227;
/* rgb */ color: rgb(105, 114, 39);
/* oklch */ color: oklch(52.9% 0.099 115.7);
Tailwind
colors: {
  custom: {
    50: '#969a65',
    500: '#697227',
    950: '#000000',
  },
}
SCSS
$custom: #697227;
$custom-light: #969a65;
$custom-dark: #000000;
JSON
{
  "hex": "#697227",
  "rgb": {
    "r": 105,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 67.2,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.09886,
    "h": 115.7
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#697227
secondary
#5A50A4
accent
#4FD960
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #697227

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

Preview Lab → · Contrast checker → · Palette generator →

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