#897B2F#897B2F

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

Color values

HEX#897B2F
RGBrgb(137, 123, 47)
HSLhsl(51, 49%, 36%)
HSVhsv(51, 66%, 54%)
CMYKcmyk(0%, 10.2%, 65.7%, 46.3%)
CIE-LABlab(51.49, -4.21, 42.22)
CIE-LCHlch(51.49, 42.43, 95.70°)
OKLaboklab(58.03% -0.0149 0.0961)
OKLCHoklch(58.03% 0.097 98.8)
XYZxyz(17.9133, 19.6903, 5.5458)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B2F #2F3D89
analogous
#894E2F #897B2F #6A892F
triadic
#897B2F #2F897B #7B2F89
tetradic
#897B2F #2F894E #2F3D89 #892F6A
square
#897B2F #2F894E #2F3D89 #892F6A
split-complementary
#897B2F #2F6A89 #4E2F89
monochromatic
#2E2910 #5B521F #897B2F #B7A43F #CBBC67

Accessibility & contrast

On white

4.25
#897B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#897B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B2F#FFFFFF#000000##000000
##897B2F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#93726B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897b2f;
/* rgb */ color: rgb(137, 123, 47);
/* oklch */ color: oklch(58.0% 0.097 98.8);
Tailwind
colors: {
  custom: {
    50: '#aea06b',
    500: '#897b2f',
    950: '#000000',
  },
}
SCSS
$custom: #897b2f;
$custom-light: #aea06b;
$custom-dark: #000000;
JSON
{
  "hex": "#897b2f",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 50.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.09726,
    "h": 98.8
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#897B2F
secondary
#626EB2
accent
#65D84F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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