#897922#897922

#897922 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.105 H 98.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#897922
RGBrgb(137, 121, 34)
HSLhsl(51, 60%, 34%)
HSVhsv(51, 75%, 54%)
CMYKcmyk(0%, 11.7%, 75.2%, 46.3%)
CIE-LABlab(50.82, -3.85, 47.18)
CIE-LCHlch(50.82, 47.34, 94.67°)
OKLaboklab(57.47% -0.0155 0.1042)
OKLCHoklch(57.47% 0.105 98.4)
XYZxyz(17.4435, 19.1095, 4.2828)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897922 #223289
analogous
#894522 #897922 #658922
triadic
#897922 #228979 #792289
tetradic
#897922 #228945 #223289 #892265
square
#897922 #228945 #223289 #892265
split-complementary
#897922 #226589 #452289
monochromatic
#27220A #584E16 #897922 #BAA42E #D4C051

Accessibility & contrast

On white

4.36
#897922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#897922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897922
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897922#FFFFFF#000000##000000
##8979221.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897922;
/* rgb */ color: rgb(137, 121, 34);
/* oklch */ color: oklch(57.5% 0.105 98.4);
Tailwind
colors: {
  custom: {
    50: '#af9f64',
    500: '#897922',
    950: '#000000',
  },
}
SCSS
$custom: #897922;
$custom-light: #af9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#897922",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 50.68,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.10538,
    "h": 98.4
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#897922
secondary
#4F5FB8
accent
#5DE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897922

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

Preview Lab → · Contrast checker → · Palette generator →

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