#898823#898823

#898823 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.119 H 108.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#898823
RGBrgb(137, 136, 35)
HSLhsl(59, 59%, 34%)
HSVhsv(59, 74%, 54%)
CMYKcmyk(0%, 0.7%, 74.5%, 46.3%)
CIE-LABlab(55.12, -12.05, 50.93)
CIE-LCHlch(55.12, 52.34, 103.31°)
OKLaboklab(60.9% -0.0384 0.1124)
OKLCHoklch(60.9% 0.119 108.9)
XYZxyz(19.4248, 23.0486, 5.0154)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898823 #232489
analogous
#895523 #898823 #578923
triadic
#898823 #238988 #882389
tetradic
#898823 #238955 #232489 #892357
square
#898823 #238955 #232489 #892357
split-complementary
#898823 #235789 #552389
monochromatic
#28270A #585817 #898823 #BAB82F #D3D253

Accessibility & contrast

On white

3.74
#898823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#898823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898823
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898823#FFFFFF#000000##000000
##8988231.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#937F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898823;
/* rgb */ color: rgb(137, 136, 35);
/* oklch */ color: oklch(60.9% 0.119 108.9);
Tailwind
colors: {
  custom: {
    50: '#afaa66',
    500: '#898823',
    950: '#000000',
  },
}
SCSS
$custom: #898823;
$custom-light: #afaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#898823",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 59.412,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.11878,
    "h": 108.9
  },
  "luminance": 0.23048
}

Semantic roles & 50–950 ramp

primary
#898823
secondary
#5152B7
accent
#47E245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898823

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

Preview Lab → · Contrast checker → · Palette generator →

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