#897A26#897A26

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

Color values

HEX#897A26
RGBrgb(137, 122, 38)
HSLhsl(51, 57%, 34%)
HSVhsv(51, 72%, 54%)
CMYKcmyk(0%, 10.9%, 72.3%, 46.3%)
CIE-LABlab(51.13, -4.21, 45.85)
CIE-LCHlch(51.13, 46.04, 95.24°)
OKLaboklab(57.73% -0.016 0.1022)
OKLCHoklch(57.73% 0.103 98.9)
XYZxyz(17.6267, 19.3782, 4.6453)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A26 #263589
analogous
#894926 #897A26 #678926
triadic
#897A26 #26897A #7A2689
tetradic
#897A26 #268949 #263589 #892667
square
#897A26 #268949 #263589 #892667
split-complementary
#897A26 #266789 #492689
monochromatic
#29250B #594F19 #897A26 #B9A533 #D1BF59

Accessibility & contrast

On white

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

On black

4.88
#897A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A26
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A26#FFFFFF#000000##000000
##897A261.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a26;
/* rgb */ color: rgb(137, 122, 38);
/* oklch */ color: oklch(57.7% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#afa066',
    500: '#897a26',
    950: '#000000',
  },
}
SCSS
$custom: #897a26;
$custom-light: #afa066;
$custom-dark: #000000;
JSON
{
  "hex": "#897a26",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 50.909,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.10346,
    "h": 98.9
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#897A26
secondary
#5564B6
accent
#5FE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A26

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

Preview Lab → · Contrast checker → · Palette generator →

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