#897B27#897B27

#897B27 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.104 H 99.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#897B27
RGBrgb(137, 123, 39)
HSLhsl(51, 56%, 35%)
HSVhsv(51, 72%, 54%)
CMYKcmyk(0%, 10.2%, 71.5%, 46.3%)
CIE-LABlab(51.42, -4.71, 45.72)
CIE-LCHlch(51.42, 45.96, 95.88°)
OKLaboklab(57.96% -0.0173 0.1021)
OKLCHoklch(57.96% 0.104 99.6)
XYZxyz(17.7665, 19.6316, 4.7725)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B27 #273589
analogous
#894A27 #897B27 #668927
triadic
#897B27 #27897B #7B2789
tetradic
#897B27 #27894A #273589 #892766
square
#897B27 #27894A #273589 #892766
split-complementary
#897B27 #276689 #4A2789
monochromatic
#2A250C #595019 #897B27 #B9A635 #D0BF5A

Accessibility & contrast

On white

4.26
#897B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#897B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B27
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B27#FFFFFF#000000##000000
##897B271.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b27;
/* rgb */ color: rgb(137, 123, 39);
/* oklch */ color: oklch(58.0% 0.104 99.6);
Tailwind
colors: {
  custom: {
    50: '#aea067',
    500: '#897b27',
    950: '#000000',
  },
}
SCSS
$custom: #897b27;
$custom-light: #aea067;
$custom-dark: #000000;
JSON
{
  "hex": "#897b27",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 51.429,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.10359,
    "h": 99.6
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#897B27
secondary
#5764B5
accent
#5EDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B27

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

Preview Lab → · Contrast checker → · Palette generator →

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