#696228#696228

#696228 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 49.0% C 0.079 H 102.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#696228
RGBrgb(105, 98, 40)
HSLhsl(54, 45%, 28%)
HSVhsv(54, 62%, 41%)
CMYKcmyk(0%, 6.7%, 61.9%, 58.8%)
CIE-LABlab(41.04, -5.38, 33.31)
CIE-LCHlch(41.04, 33.74, 99.18°)
OKLaboklab(48.99% -0.017 0.077)
OKLCHoklch(48.99% 0.079 102.5)
XYZxyz(10.5768, 11.8922, 3.7454)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#696228 #282F69
analogous
#694128 #696228 #4F6928
triadic
#696228 #286962 #622869
tetradic
#696228 #286941 #282F69 #69284F
square
#696228 #286941 #282F69 #69284F
split-complementary
#696228 #284F69 #412869
monochromatic
#161508 #3D3917 #696228 #958B39 #BCB04F

Accessibility & contrast

On white

6.22
#696228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#696228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #696228
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##696228#FFFFFF#000000##FFFFFF
##6962281.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F22
Deuteranopia (green-blind)
#6D622B
Tritanopia (blue-blind)
#715B55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #696228;
/* rgb */ color: rgb(105, 98, 40);
/* oklch */ color: oklch(49.0% 0.079 102.5);
Tailwind
colors: {
  custom: {
    50: '#968e64',
    500: '#696228',
    950: '#000000',
  },
}
SCSS
$custom: #696228;
$custom-light: #968e64;
$custom-dark: #000000;
JSON
{
  "hex": "#696228",
  "rgb": {
    "r": 105,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 53.538,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.07883,
    "h": 102.5
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#696228
secondary
#51599C
accent
#61D553
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C05
muted
#7E7D7A

Preview Lab

Preview with #696228

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

Preview Lab → · Contrast checker → · Palette generator →

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