#897B22#897B22

#897B22 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.107 H 100.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#897B22
RGBrgb(137, 123, 34)
HSLhsl(52, 60%, 34%)
HSVhsv(52, 75%, 54%)
CMYKcmyk(0%, 10.2%, 75.2%, 46.3%)
CIE-LABlab(51.38, -4.97, 47.73)
CIE-LCHlch(51.38, 47.99, 95.95°)
OKLaboklab(57.92% -0.0186 0.1054)
OKLCHoklch(57.92% 0.107 100)
XYZxyz(17.6891, 19.6006, 4.3646)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B22 #223089
analogous
#894722 #897B22 #638922
triadic
#897B22 #22897B #7B2289
tetradic
#897B22 #228947 #223089 #892263
square
#897B22 #228947 #223089 #892263
split-complementary
#897B22 #226389 #472289
monochromatic
#27230A #584F16 #897B22 #BAA72E #D4C251

Accessibility & contrast

On white

4.27
#897B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#897B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B22#FFFFFF#000000##000000
##897B221.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b22;
/* rgb */ color: rgb(137, 123, 34);
/* oklch */ color: oklch(57.9% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#afa064',
    500: '#897b22',
    950: '#000000',
  },
}
SCSS
$custom: #897b22;
$custom-light: #afa064;
$custom-dark: #000000;
JSON
{
  "hex": "#897b22",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 51.845,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.10705,
    "h": 100
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#897B22
secondary
#4F5DB8
accent
#5AE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B22

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

Preview Lab → · Contrast checker → · Palette generator →

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