#897D23#897D23

#897D23 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.108 H 101.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#897D23
RGBrgb(137, 125, 35)
HSLhsl(53, 59%, 34%)
HSVhsv(53, 74%, 54%)
CMYKcmyk(0%, 8.8%, 74.5%, 46.3%)
CIE-LABlab(51.96, -6.04, 47.89)
CIE-LCHlch(51.96, 48.27, 97.18°)
OKLaboklab(58.38% -0.0215 0.106)
OKLCHoklch(58.38% 0.108 101.5)
XYZxyz(17.9543, 20.1077, 4.5252)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D23 #232F89
analogous
#894A23 #897D23 #628923
triadic
#897D23 #23897D #7D2389
tetradic
#897D23 #23894A #232F89 #892362
square
#897D23 #23894A #232F89 #892362
split-complementary
#897D23 #236289 #4A2389
monochromatic
#28240A #585117 #897D23 #BAA92F #D3C453

Accessibility & contrast

On white

4.18
#897D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#897D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D23#FFFFFF#000000##000000
##897D231.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d23;
/* rgb */ color: rgb(137, 125, 35);
/* oklch */ color: oklch(58.4% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#afa265',
    500: '#897d23',
    950: '#000000',
  },
}
SCSS
$custom: #897d23;
$custom-light: #afa265;
$custom-dark: #000000;
JSON
{
  "hex": "#897d23",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 52.941,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5838,
    "c": 0.10812,
    "h": 101.5
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#897D23
secondary
#515DB7
accent
#58E245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D23

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

Preview Lab → · Contrast checker → · Palette generator →

#897D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva