#897823#897823

#897823 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.104 H 97.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#897823
RGBrgb(137, 120, 35)
HSLhsl(50, 59%, 34%)
HSVhsv(50, 74%, 54%)
CMYKcmyk(0%, 12.4%, 74.5%, 46.3%)
CIE-LABlab(50.54, -3.24, 46.51)
CIE-LCHlch(50.54, 46.62, 93.99°)
OKLaboklab(57.25% -0.0136 0.103)
OKLCHoklch(57.25% 0.104 97.5)
XYZxyz(17.3372, 18.8735, 4.3195)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897823 #233489
analogous
#894523 #897823 #678923
triadic
#897823 #238978 #782389
tetradic
#897823 #238945 #233489 #892367
square
#897823 #238945 #233489 #892367
split-complementary
#897823 #236789 #452389
monochromatic
#28230A #584D17 #897823 #BAA32F #D3BE53

Accessibility & contrast

On white

4.40
#897823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#897823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897823
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897823#FFFFFF#000000##000000
##8978231.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847515
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#946F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897823;
/* rgb */ color: rgb(137, 120, 35);
/* oklch */ color: oklch(57.3% 0.104 97.5);
Tailwind
colors: {
  custom: {
    50: '#af9e64',
    500: '#897823',
    950: '#000000',
  },
}
SCSS
$custom: #897823;
$custom-light: #af9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#897823",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 50,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.10392,
    "h": 97.5
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#897823
secondary
#5162B7
accent
#60E245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897823

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

Preview Lab → · Contrast checker → · Palette generator →

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