#897939#897939

#897939 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.086 H 95.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#897939
RGBrgb(137, 121, 57)
HSLhsl(48, 41%, 38%)
HSVhsv(48, 58%, 54%)
CMYKcmyk(0%, 11.7%, 58.4%, 46.3%)
CIE-LABlab(51.02, -2.33, 36.79)
CIE-LCHlch(51.02, 36.87, 93.63°)
OKLaboklab(57.7% -0.0083 0.0859)
OKLCHoklch(57.7% 0.086 95.5)
XYZxyz(17.8931, 19.2893, 6.6508)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897939 #394989
analogous
#895139 #897939 #718939
triadic
#897939 #398979 #793989
tetradic
#897939 #398951 #394989 #893971
square
#897939 #398951 #394989 #893971
split-complementary
#897939 #397189 #513989
monochromatic
#332D15 #5E5327 #897939 #B49F4B #C6B676

Accessibility & contrast

On white

4.32
#897939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#897939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897939
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897939#FFFFFF#000000##000000
##8979391.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847733
Deuteranopia (green-blind)
#887C3C
Tritanopia (blue-blind)
#93716B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897939;
/* rgb */ color: rgb(137, 121, 57);
/* oklch */ color: oklch(57.7% 0.086 95.5);
Tailwind
colors: {
  custom: {
    50: '#ae9f71',
    500: '#897939',
    950: '#000000',
  },
}
SCSS
$custom: #897939;
$custom-light: #ae9f71;
$custom-dark: #000000;
JSON
{
  "hex": "#897939",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 48,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57702,
    "c": 0.0863,
    "h": 95.5
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#897939
secondary
#6F7BAF
accent
#6FD157
background
#FAF9F6
surface
#F5F2EC
border
#CFCCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #897939

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

Preview Lab → · Contrast checker → · Palette generator →

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