#897B24#897B24

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

Color values

HEX#897B24
RGBrgb(137, 123, 36)
HSLhsl(52, 58%, 34%)
HSVhsv(52, 74%, 54%)
CMYKcmyk(0%, 10.2%, 73.7%, 46.3%)
CIE-LABlab(51.40, -4.87, 46.94)
CIE-LCHlch(51.40, 47.20, 95.93°)
OKLaboklab(57.94% -0.0181 0.1041)
OKLCHoklch(57.94% 0.106 99.9)
XYZxyz(17.7188, 19.6125, 4.5210)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B24 #243289
analogous
#894924 #897B24 #658924
triadic
#897B24 #24897B #7B2489
tetradic
#897B24 #248949 #243289 #892465
square
#897B24 #248949 #243289 #892465
split-complementary
#897B24 #246589 #492489
monochromatic
#28240B #594F17 #897B24 #B9A731 #D2C155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #897b24;
/* rgb */ color: rgb(137, 123, 36);
/* oklch */ color: oklch(57.9% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#afa065',
    500: '#897b24',
    950: '#000000',
  },
}
SCSS
$custom: #897b24;
$custom-light: #afa065;
$custom-dark: #000000;
JSON
{
  "hex": "#897b24",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 51.683,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.10571,
    "h": 99.9
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#897B24
secondary
#5260B7
accent
#5CE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B24

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

Preview Lab → · Contrast checker → · Palette generator →

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