#897023#897023

#897023 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.5% C 0.098 H 90.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#897023
RGBrgb(137, 112, 35)
HSLhsl(45, 59%, 34%)
HSVhsv(45, 74%, 54%)
CMYKcmyk(0%, 18.2%, 74.5%, 46.3%)
CIE-LABlab(48.30, 1.30, 44.30)
CIE-LCHlch(48.30, 44.32, 88.32°)
OKLaboklab(55.48% -0.0006 0.0984)
OKLCHoklch(55.48% 0.098 90.4)
XYZxyz(16.4150, 17.0291, 4.0121)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897023 #233C89
analogous
#893D23 #897023 #6F8923
triadic
#897023 #238970 #702389
tetradic
#897023 #23893D #233C89 #89236F
square
#897023 #23893D #233C89 #89236F
split-complementary
#897023 #236F89 #3D2389
monochromatic
#28200A #584817 #897023 #BA982F #D3B453

Accessibility & contrast

On white

4.77
#897023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#897023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897023
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897023#FFFFFF#000000##FFFFFF
##8970231.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F18
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#956661
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897023;
/* rgb */ color: rgb(137, 112, 35);
/* oklch */ color: oklch(55.5% 0.098 90.4);
Tailwind
colors: {
  custom: {
    50: '#af9863',
    500: '#897023',
    950: '#000000',
  },
}
SCSS
$custom: #897023;
$custom-light: #af9863;
$custom-dark: #000000;
JSON
{
  "hex": "#897023",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 35
  },
  "hsl": {
    "h": 45.294,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55481,
    "c": 0.09835,
    "h": 90.4
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#897023
secondary
#516AB7
accent
#6CE245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #897023

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

Preview Lab → · Contrast checker → · Palette generator →

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