#656228#656228

#656228 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.6% C 0.079 H 106.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#656228
RGBrgb(101, 98, 40)
HSLhsl(57, 43%, 28%)
HSVhsv(57, 60%, 40%)
CMYKcmyk(0%, 3%, 60.4%, 60.4%)
CIE-LABlab(40.66, -7.27, 32.78)
CIE-LCHlch(40.66, 33.57, 102.51°)
OKLaboklab(48.6% -0.0221 0.0759)
OKLCHoklch(48.6% 0.079 106.2)
XYZxyz(10.1178, 11.6556, 3.7239)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#656228 #282B65
analogous
#654328 #656228 #496528
triadic
#656228 #286562 #622865
tetradic
#656228 #286543 #282B65 #652849
square
#656228 #286543 #282B65 #652849
split-complementary
#656228 #284965 #432865
monochromatic
#161509 #393717 #656228 #918D39 #B9B44E

Accessibility & contrast

On white

6.30
#656228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#656228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #656228
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##656228#FFFFFF#000000##FFFFFF
##6562281.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E22
Deuteranopia (green-blind)
#6B612B
Tritanopia (blue-blind)
#6C5C55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #656228;
/* rgb */ color: rgb(101, 98, 40);
/* oklch */ color: oklch(48.6% 0.079 106.2);
Tailwind
colors: {
  custom: {
    50: '#938e64',
    500: '#656228',
    950: '#000000',
  },
}
SCSS
$custom: #656228;
$custom-light: #938e64;
$custom-dark: #000000;
JSON
{
  "hex": "#656228",
  "rgb": {
    "r": 101,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 57.049,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.07909,
    "h": 106.2
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#656228
secondary
#515598
accent
#5BD355
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #656228

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

Preview Lab → · Contrast checker → · Palette generator →

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