#897B20#897B20

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

Color values

HEX#897B20
RGBrgb(137, 123, 32)
HSLhsl(52, 62%, 33%)
HSVhsv(52, 77%, 54%)
CMYKcmyk(0%, 10.2%, 76.6%, 46.3%)
CIE-LABlab(51.37, -5.07, 48.49)
CIE-LCHlch(51.37, 48.75, 95.97°)
OKLaboklab(57.91% -0.0191 0.1066)
OKLCHoklch(57.91% 0.108 100.2)
XYZxyz(17.6610, 19.5894, 4.2171)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B20 #202E89
analogous
#894620 #897B20 #628920
triadic
#897B20 #20897B #7B2089
tetradic
#897B20 #208946 #202E89 #892062
square
#897B20 #208946 #202E89 #892062
split-complementary
#897B20 #206289 #462089
monochromatic
#262209 #574E14 #897B20 #BBA82C #D6C34E

Accessibility & contrast

On white

4.27
#897B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##897B20#FFFFFF#000000##000000
##897B201.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#947269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b20;
/* rgb */ color: rgb(137, 123, 32);
/* oklch */ color: oklch(57.9% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#afa063',
    500: '#897b20',
    950: '#000000',
  },
}
SCSS
$custom: #897b20;
$custom-light: #afa063;
$custom-dark: #000000;
JSON
{
  "hex": "#897b20",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 52,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57906,
    "c": 0.10831,
    "h": 100.2
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#897B20
secondary
#4C5BB9
accent
#58E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B20

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

Preview Lab → · Contrast checker → · Palette generator →

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