#897B26#897B26

#897B26 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.104 H 99.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#897B26
RGBrgb(137, 123, 38)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 72%, 54%)
CMYKcmyk(0%, 10.2%, 72.3%, 46.3%)
CIE-LABlab(51.41, -4.77, 46.14)
CIE-LCHlch(51.41, 46.38, 95.90°)
OKLaboklab(57.95% -0.0176 0.1028)
OKLCHoklch(57.95% 0.104 99.7)
XYZxyz(17.7502, 19.6251, 4.6864)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B26 #263489
analogous
#894A26 #897B26 #668926
triadic
#897B26 #26897B #7B2689
tetradic
#897B26 #26894A #263489 #892666
square
#897B26 #26894A #263489 #892666
split-complementary
#897B26 #266689 #4A2689
monochromatic
#29250B #595019 #897B26 #B9A633 #D1C059

Accessibility & contrast

On white

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

On black

4.92
#897B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B26
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B26#FFFFFF#000000##000000
##897B261.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877819
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b26;
/* rgb */ color: rgb(137, 123, 38);
/* oklch */ color: oklch(58.0% 0.104 99.7);
Tailwind
colors: {
  custom: {
    50: '#afa066',
    500: '#897b26',
    950: '#000000',
  },
}
SCSS
$custom: #897b26;
$custom-light: #afa066;
$custom-dark: #000000;
JSON
{
  "hex": "#897b26",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 51.515,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.10431,
    "h": 99.7
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#897B26
secondary
#5563B6
accent
#5DE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B26

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

Preview Lab → · Contrast checker → · Palette generator →

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