#897B2D#897B2D

#897B2D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.099 H 99.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#897B2D
RGBrgb(137, 123, 45)
HSLhsl(51, 51%, 36%)
HSVhsv(51, 67%, 54%)
CMYKcmyk(0%, 10.2%, 67.2%, 46.3%)
CIE-LABlab(51.47, -4.35, 43.12)
CIE-LCHlch(51.47, 43.34, 95.76°)
OKLaboklab(58.01% -0.0156 0.0977)
OKLCHoklch(58.01% 0.099 99.1)
XYZxyz(17.8739, 19.6746, 5.3382)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B2D #2D3B89
analogous
#894D2D #897B2D #69892D
triadic
#897B2D #2D897B #7B2D89
tetradic
#897B2D #2D894D #2D3B89 #892D69
square
#897B2D #2D894D #2D3B89 #892D69
split-complementary
#897B2D #2D6989 #4D2D89
monochromatic
#2D280F #5B521E #897B2D #B7A43C #CCBC64

Accessibility & contrast

On white

4.26
#897B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#897B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B2D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B2D#FFFFFF#000000##000000
##897B2D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#94726B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897b2d;
/* rgb */ color: rgb(137, 123, 45);
/* oklch */ color: oklch(58.0% 0.099 99.1);
Tailwind
colors: {
  custom: {
    50: '#aea06a',
    500: '#897b2d',
    950: '#000000',
  },
}
SCSS
$custom: #897b2d;
$custom-light: #aea06a;
$custom-dark: #000000;
JSON
{
  "hex": "#897b2d",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 50.87,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58014,
    "c": 0.09893,
    "h": 99.1
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#897B2D
secondary
#5F6CB3
accent
#63DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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