#897F2B#897F2B

#897F2B is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.104 H 102.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#897F2B
RGBrgb(137, 127, 43)
HSLhsl(54, 52%, 35%)
HSVhsv(54, 69%, 54%)
CMYKcmyk(0%, 7.3%, 68.6%, 46.3%)
CIE-LABlab(52.59, -6.70, 45.19)
CIE-LCHlch(52.59, 45.68, 98.43°)
OKLaboklab(58.9% -0.0225 0.1017)
OKLCHoklch(58.9% 0.104 102.5)
XYZxyz(18.3427, 20.6723, 5.3090)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F2B #2B3589
analogous
#89502B #897F2B #64892B
triadic
#897F2B #2B897F #7F2B89
tetradic
#897F2B #2B8950 #2B3589 #892B64
square
#897F2B #2B8950 #2B3589 #892B64
split-complementary
#897F2B #2B6489 #502B89
monochromatic
#2C290E #5A541C #897F2B #B8AA3A #CDC261

Accessibility & contrast

On white

4.09
#897F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#897F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F2B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F2B#FFFFFF#000000##000000
##897F2B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#8E7F30
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f2b;
/* rgb */ color: rgb(137, 127, 43);
/* oklch */ color: oklch(58.9% 0.104 102.5);
Tailwind
colors: {
  custom: {
    50: '#aea369',
    500: '#897f2b',
    950: '#000000',
  },
}
SCSS
$custom: #897f2b;
$custom-light: #aea369;
$custom-dark: #000000;
JSON
{
  "hex": "#897f2b",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 53.617,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.10419,
    "h": 102.5
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#897F2B
secondary
#5C66B3
accent
#5BDC4C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #897F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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