#897A22#897A22

#897A22 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.106 H 99.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#897A22
RGBrgb(137, 122, 34)
HSLhsl(51, 60%, 34%)
HSVhsv(51, 75%, 54%)
CMYKcmyk(0%, 10.9%, 75.2%, 46.3%)
CIE-LABlab(51.10, -4.41, 47.46)
CIE-LCHlch(51.10, 47.66, 95.32°)
OKLaboklab(57.69% -0.0171 0.1048)
OKLCHoklch(57.69% 0.106 99.2)
XYZxyz(17.5656, 19.3538, 4.3235)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A22 #223189
analogous
#894622 #897A22 #648922
triadic
#897A22 #22897A #7A2289
tetradic
#897A22 #228946 #223189 #892264
square
#897A22 #228946 #223189 #892264
split-complementary
#897A22 #226489 #462289
monochromatic
#27230A #584E16 #897A22 #BAA62E #D4C151

Accessibility & contrast

On white

4.31
#897A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#897A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A22
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A22#FFFFFF#000000##000000
##897A221.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a22;
/* rgb */ color: rgb(137, 122, 34);
/* oklch */ color: oklch(57.7% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#afa064',
    500: '#897a22',
    950: '#000000',
  },
}
SCSS
$custom: #897a22;
$custom-light: #afa064;
$custom-dark: #000000;
JSON
{
  "hex": "#897a22",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 51.262,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.1062,
    "h": 99.2
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#897A22
secondary
#4F5EB8
accent
#5CE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A22

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

Preview Lab → · Contrast checker → · Palette generator →

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