#898751#898751

#898751 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.074 H 106.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#898751
RGBrgb(137, 135, 81)
HSLhsl(58, 26%, 43%)
HSVhsv(58, 41%, 54%)
CMYKcmyk(0%, 1.5%, 40.9%, 46.3%)
CIE-LABlab(55.32, -7.72, 29.28)
CIE-LCHlch(55.32, 30.28, 104.78°)
OKLaboklab(61.21% -0.0212 0.0713)
OKLCHoklch(61.21% 0.074 106.6)
XYZxyz(20.4660, 23.2409, 11.1908)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898751 #515389
analogous
#896B51 #898751 #6F8951
triadic
#898751 #518987 #875189
tetradic
#898751 #51896B #515389 #89516F
square
#898751 #51896B #515389 #89516F
split-complementary
#898751 #516F89 #6B5189
monochromatic
#3C3B24 #63613A #898751 #A9A76E #C0BE94

Accessibility & contrast

On white

3.72
#898751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#898751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898751
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898751#FFFFFF#000000##000000
##8987511.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834D
Deuteranopia (green-blind)
#918653
Tritanopia (blue-blind)
#90817A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898751;
/* rgb */ color: rgb(137, 135, 81);
/* oklch */ color: oklch(61.2% 0.074 106.6);
Tailwind
colors: {
  custom: {
    50: '#aca983',
    500: '#898751',
    950: '#000000',
  },
}
SCSS
$custom: #898751;
$custom-light: #aca983;
$custom-dark: #000000;
JSON
{
  "hex": "#898751",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 57.857,
    "s": 25.688,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.07439,
    "h": 106.6
  },
  "luminance": 0.2324
}

Semantic roles & 50–950 ramp

primary
#898751
secondary
#898AAD
accent
#69C266
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #898751

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

Preview Lab → · Contrast checker → · Palette generator →

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