#897B23#897B23

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

Color values

HEX#897B23
RGBrgb(137, 123, 35)
HSLhsl(52, 59%, 34%)
HSVhsv(52, 74%, 54%)
CMYKcmyk(0%, 10.2%, 74.5%, 46.3%)
CIE-LABlab(51.39, -4.92, 47.34)
CIE-LCHlch(51.39, 47.60, 95.94°)
OKLaboklab(57.93% -0.0184 0.1048)
OKLCHoklch(57.93% 0.106 100)
XYZxyz(17.7037, 19.6065, 4.4417)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B23 #233189
analogous
#894823 #897B23 #648923
triadic
#897B23 #23897B #7B2389
tetradic
#897B23 #238948 #233189 #892364
square
#897B23 #238948 #233189 #892364
split-complementary
#897B23 #236489 #482389
monochromatic
#28230A #584F17 #897B23 #BAA72F #D3C253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897B23#FFFFFF#000000##000000
##897B231.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)
#877714
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b23;
/* rgb */ color: rgb(137, 123, 35);
/* oklch */ color: oklch(57.9% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#afa064',
    500: '#897b23',
    950: '#000000',
  },
}
SCSS
$custom: #897b23;
$custom-light: #afa064;
$custom-dark: #000000;
JSON
{
  "hex": "#897b23",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 51.765,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.10638,
    "h": 100
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#897B23
secondary
#515FB7
accent
#5BE245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B23

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

Preview Lab → · Contrast checker → · Palette generator →

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