#897B25#897B25

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

Color values

HEX#897B25
RGBrgb(137, 123, 37)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 73%, 54%)
CMYKcmyk(0%, 10.2%, 73%, 46.3%)
CIE-LABlab(51.40, -4.82, 46.54)
CIE-LCHlch(51.40, 46.79, 95.91°)
OKLaboklab(57.94% -0.0179 0.1035)
OKLCHoklch(57.94% 0.105 99.8)
XYZxyz(17.7342, 19.6187, 4.6026)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B25 #253389
analogous
#894925 #897B25 #658925
triadic
#897B25 #25897B #7B2589
tetradic
#897B25 #258949 #253389 #892565
square
#897B25 #258949 #253389 #892565
split-complementary
#897B25 #256589 #492589
monochromatic
#29240B #595018 #897B25 #B9A632 #D2C057

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897B25#FFFFFF#000000##000000
##897B251.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)
#877818
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b25;
/* rgb */ color: rgb(137, 123, 37);
/* oklch */ color: oklch(57.9% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#afa065',
    500: '#897b25',
    950: '#000000',
  },
}
SCSS
$custom: #897b25;
$custom-light: #afa065;
$custom-dark: #000000;
JSON
{
  "hex": "#897b25",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 51.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.10501,
    "h": 99.8
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#897B25
secondary
#5462B6
accent
#5DE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B25

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

Preview Lab → · Contrast checker → · Palette generator →

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