#897124#897124

#897124 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.098 H 91.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#897124
RGBrgb(137, 113, 36)
HSLhsl(46, 58%, 34%)
HSVhsv(46, 74%, 54%)
CMYKcmyk(0%, 17.5%, 73.7%, 46.3%)
CIE-LABlab(48.58, 0.78, 44.16)
CIE-LCHlch(48.58, 44.17, 88.98°)
OKLaboklab(55.71% -0.002 0.0982)
OKLCHoklch(55.71% 0.098 91.2)
XYZxyz(16.5410, 17.2570, 4.1284)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897124 #243C89
analogous
#893F24 #897124 #6F8924
triadic
#897124 #248971 #712489
tetradic
#897124 #24893F #243C89 #89246F
square
#897124 #24893F #243C89 #89246F
split-complementary
#897124 #246F89 #3F2489
monochromatic
#28210B #594917 #897124 #B99931 #D2B555

Accessibility & contrast

On white

4.72
#897124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#897124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897124
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897124#FFFFFF#000000##FFFFFF
##8971241.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F19
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#946761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897124;
/* rgb */ color: rgb(137, 113, 36);
/* oklch */ color: oklch(55.7% 0.098 91.2);
Tailwind
colors: {
  custom: {
    50: '#af9964',
    500: '#897124',
    950: '#000000',
  },
}
SCSS
$custom: #897124;
$custom-light: #af9964;
$custom-dark: #000000;
JSON
{
  "hex": "#897124",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 45.743,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.09826,
    "h": 91.2
  },
  "luminance": 0.17256
}

Semantic roles & 50–950 ramp

primary
#897124
secondary
#526AB7
accent
#6BE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #897124

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

Preview Lab → · Contrast checker → · Palette generator →

#897124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva