#897C26#897C26

#897C26 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.105 H 100.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#897C26
RGBrgb(137, 124, 38)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 72%, 54%)
CMYKcmyk(0%, 9.5%, 72.3%, 46.3%)
CIE-LABlab(51.69, -5.32, 46.42)
CIE-LCHlch(51.69, 46.72, 96.54°)
OKLaboklab(58.18% -0.0192 0.1034)
OKLCHoklch(58.18% 0.105 100.5)
XYZxyz(17.8748, 19.8744, 4.7280)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C26 #263389
analogous
#894B26 #897C26 #658926
triadic
#897C26 #26897C #7C2689
tetradic
#897C26 #26894B #263389 #892665
square
#897C26 #26894B #263389 #892665
split-complementary
#897C26 #266589 #4B2689
monochromatic
#29250B #595119 #897C26 #B9A733 #D1C159

Accessibility & contrast

On white

4.22
#897C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#897C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C26
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C26#FFFFFF#000000##000000
##897C261.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887819
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c26;
/* rgb */ color: rgb(137, 124, 38);
/* oklch */ color: oklch(58.2% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#afa166',
    500: '#897c26',
    950: '#000000',
  },
}
SCSS
$custom: #897c26;
$custom-light: #afa166;
$custom-dark: #000000;
JSON
{
  "hex": "#897c26",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 52.121,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.10518,
    "h": 100.5
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#897C26
secondary
#5562B6
accent
#5CE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C26

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

Preview Lab → · Contrast checker → · Palette generator →

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