#897825#897825

#897825 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.103 H 97.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#897825
RGBrgb(137, 120, 37)
HSLhsl(50, 57%, 34%)
HSVhsv(50, 73%, 54%)
CMYKcmyk(0%, 12.4%, 73%, 46.3%)
CIE-LABlab(50.55, -3.14, 45.70)
CIE-LCHlch(50.55, 45.81, 93.93°)
OKLaboklab(57.27% -0.0131 0.1017)
OKLCHoklch(57.27% 0.103 97.3)
XYZxyz(17.3678, 18.8858, 4.4804)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897825 #253689
analogous
#894625 #897825 #688925
triadic
#897825 #258978 #782589
tetradic
#897825 #258946 #253689 #892568
square
#897825 #258946 #253689 #892568
split-complementary
#897825 #256889 #462589
monochromatic
#29240B #594E18 #897825 #B9A232 #D2BD57

Accessibility & contrast

On white

4.40
#897825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#897825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897825
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897825#FFFFFF#000000##000000
##8978251.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#946F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897825;
/* rgb */ color: rgb(137, 120, 37);
/* oklch */ color: oklch(57.3% 0.103 97.3);
Tailwind
colors: {
  custom: {
    50: '#af9e65',
    500: '#897825',
    950: '#000000',
  },
}
SCSS
$custom: #897825;
$custom-light: #af9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#897825",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 49.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.10254,
    "h": 97.3
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#897825
secondary
#5464B6
accent
#61E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897825

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

Preview Lab → · Contrast checker → · Palette generator →

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