#697228#697228

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

Color values

HEX#697228
RGBrgb(105, 114, 40)
HSLhsl(67, 48%, 30%)
HSVhsv(67, 65%, 45%)
CMYKcmyk(7.9%, 0%, 64.9%, 55.3%)
CIE-LABlab(45.90, -14.39, 38.63)
CIE-LCHlch(45.90, 41.23, 110.43°)
OKLaboklab(52.86% -0.0425 0.0883)
OKLCHoklch(52.86% 0.098 115.7)
XYZxyz(12.2263, 15.1913, 4.2952)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#697228 #312872
analogous
#725628 #697228 #447228
triadic
#697228 #286972 #722869
tetradic
#697228 #287256 #312872 #722844
square
#697228 #287256 #312872 #722844
split-complementary
#697228 #284472 #562872
monochromatic
#161708 #3F4518 #697228 #939F38 #B5C252

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##697228#FFFFFF#000000##FFFFFF
##6972281.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)
#7A6C1F
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#706C63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #697228;
/* rgb */ color: rgb(105, 114, 40);
/* oklch */ color: oklch(52.9% 0.098 115.7);
Tailwind
colors: {
  custom: {
    50: '#969a66',
    500: '#697228',
    950: '#000000',
  },
}
SCSS
$custom: #697228;
$custom-light: #969a66;
$custom-dark: #000000;
JSON
{
  "hex": "#697228",
  "rgb": {
    "r": 105,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 67.297,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.09799,
    "h": 115.7
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#697228
secondary
#5C52A4
accent
#50D861
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #697228

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

Preview Lab → · Contrast checker → · Palette generator →

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