#897D33#897D33

#897D33 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.096 H 100.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#897D33
RGBrgb(137, 125, 51)
HSLhsl(52, 46%, 37%)
HSVhsv(52, 63%, 54%)
CMYKcmyk(0%, 8.8%, 62.8%, 46.3%)
CIE-LABlab(52.09, -5.05, 40.98)
CIE-LCHlch(52.09, 41.29, 97.02°)
OKLaboklab(58.53% -0.0168 0.0941)
OKLCHoklch(58.53% 0.096 100.1)
XYZxyz(18.2484, 20.2254, 6.0740)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D33 #333F89
analogous
#895233 #897D33 #6A8933
triadic
#897D33 #33897D #7D3389
tetradic
#897D33 #338952 #333F89 #89336A
square
#897D33 #338952 #333F89 #89336A
split-complementary
#897D33 #336A89 #523389
monochromatic
#302C12 #5C5422 #897D33 #B6A644 #C9BC6E

Accessibility & contrast

On white

4.16
#897D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#897D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D33
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D33#FFFFFF#000000##000000
##897D331.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2B
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#93746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d33;
/* rgb */ color: rgb(137, 125, 51);
/* oklch */ color: oklch(58.5% 0.096 100.1);
Tailwind
colors: {
  custom: {
    50: '#aea26e',
    500: '#897d33',
    950: '#000000',
  },
}
SCSS
$custom: #897d33;
$custom-light: #aea26e;
$custom-dark: #000000;
JSON
{
  "hex": "#897d33",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 51.628,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.09557,
    "h": 100.1
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#897D33
secondary
#6771B1
accent
#65D552
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D33

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

Preview Lab → · Contrast checker → · Palette generator →

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