#897D24#897D24

#897D24 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.107 H 101.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#897D24
RGBrgb(137, 125, 36)
HSLhsl(53, 58%, 34%)
HSVhsv(53, 74%, 54%)
CMYKcmyk(0%, 8.8%, 73.7%, 46.3%)
CIE-LABlab(51.97, -5.99, 47.50)
CIE-LCHlch(51.97, 47.88, 97.18°)
OKLaboklab(58.39% -0.0213 0.1053)
OKLCHoklch(58.39% 0.107 101.4)
XYZxyz(17.9694, 20.1138, 4.6046)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D24 #243089
analogous
#894B24 #897D24 #638924
triadic
#897D24 #24897D #7D2489
tetradic
#897D24 #24894B #243089 #892463
square
#897D24 #24894B #243089 #892463
split-complementary
#897D24 #246389 #4B2489
monochromatic
#28250B #595117 #897D24 #B9A931 #D2C355

Accessibility & contrast

On white

4.18
#897D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#897D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D24
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D24#FFFFFF#000000##000000
##897D241.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897915
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d24;
/* rgb */ color: rgb(137, 125, 36);
/* oklch */ color: oklch(58.4% 0.107 101.4);
Tailwind
colors: {
  custom: {
    50: '#afa265',
    500: '#897d24',
    950: '#000000',
  },
}
SCSS
$custom: #897d24;
$custom-light: #afa265;
$custom-dark: #000000;
JSON
{
  "hex": "#897d24",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 52.871,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.10745,
    "h": 101.4
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#897D24
secondary
#525EB7
accent
#59E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D24

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

Preview Lab → · Contrast checker → · Palette generator →

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