#897526#897526

#897526 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.6% C 0.100 H 94.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#897526
RGBrgb(137, 117, 38)
HSLhsl(48, 57%, 34%)
HSVhsv(48, 72%, 54%)
CMYKcmyk(0%, 14.6%, 72.3%, 46.3%)
CIE-LABlab(49.72, -1.39, 44.43)
CIE-LCHlch(49.72, 44.45, 91.79°)
OKLaboklab(56.61% -0.008 0.0992)
OKLCHoklch(56.61% 0.1 94.6)
XYZxyz(17.0285, 18.1818, 4.4459)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897526 #263A89
analogous
#894426 #897526 #6C8926
triadic
#897526 #268975 #752689
tetradic
#897526 #268944 #263A89 #89266C
square
#897526 #268944 #263A89 #89266C
split-complementary
#897526 #266C89 #442689
monochromatic
#29230B #594C19 #897526 #B99E33 #D1B959

Accessibility & contrast

On white

4.53
#897526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#897526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897526
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897526#FFFFFF#000000##000000
##8975261.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81731B
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#946C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #897526;
/* rgb */ color: rgb(137, 117, 38);
/* oklch */ color: oklch(56.6% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#af9c65',
    500: '#897526',
    950: '#000000',
  },
}
SCSS
$custom: #897526;
$custom-light: #af9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#897526",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 47.879,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.09953,
    "h": 94.6
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#897526
secondary
#5569B6
accent
#67E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897526

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

Preview Lab → · Contrast checker → · Palette generator →

#897526 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva