#898952#898952

#898952 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.076 H 108.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#898952
RGBrgb(137, 137, 82)
HSLhsl(60, 25%, 43%)
HSVhsv(60, 40%, 54%)
CMYKcmyk(0%, 0%, 40.1%, 46.3%)
CIE-LABlab(55.91, -8.70, 29.48)
CIE-LCHlch(55.91, 30.74, 106.45°)
OKLaboklab(61.68% -0.0239 0.0718)
OKLCHoklch(61.68% 0.076 108.4)
XYZxyz(20.7855, 23.8193, 11.4836)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898952 #525289
analogous
#896D52 #898952 #6D8952
triadic
#898952 #528989 #895289
tetradic
#898952 #52896D #525289 #89526D
square
#898952 #52896D #525289 #89526D
split-complementary
#898952 #526D89 #6D5289
monochromatic
#3C3C24 #63633B #898952 #A9A96F #C0C096

Accessibility & contrast

On white

3.64
#898952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#898952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898952
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898952#FFFFFF#000000##000000
##8989521.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854E
Deuteranopia (green-blind)
#928754
Tritanopia (blue-blind)
#90837B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898952;
/* rgb */ color: rgb(137, 137, 82);
/* oklch */ color: oklch(61.7% 0.076 108.4);
Tailwind
colors: {
  custom: {
    50: '#acab83',
    500: '#898952',
    950: '#000000',
  },
}
SCSS
$custom: #898952;
$custom-light: #acab83;
$custom-dark: #000000;
JSON
{
  "hex": "#898952",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 25.114,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61684,
    "c": 0.0757,
    "h": 108.4
  },
  "luminance": 0.23819
}

Semantic roles & 50–950 ramp

primary
#898952
secondary
#8A8AAD
accent
#66C266
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #898952

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

Preview Lab → · Contrast checker → · Palette generator →

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