#897938#897938

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

Color values

HEX#897938
RGBrgb(137, 121, 56)
HSLhsl(48, 42%, 38%)
HSVhsv(48, 59%, 54%)
CMYKcmyk(0%, 11.7%, 59.1%, 46.3%)
CIE-LABlab(51.01, -2.42, 37.29)
CIE-LCHlch(51.01, 37.37, 93.71°)
OKLaboklab(57.69% -0.0086 0.0869)
OKLCHoklch(57.69% 0.087 95.7)
XYZxyz(17.8684, 19.2794, 6.5207)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897938 #384889
analogous
#895038 #897938 #708938
triadic
#897938 #388979 #793889
tetradic
#897938 #388950 #384889 #893870
square
#897938 #388950 #384889 #893870
split-complementary
#897938 #387089 #503889
monochromatic
#322C14 #5E5326 #897938 #B49F4A #C7B675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897938#FFFFFF#000000##000000
##8979381.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)
#847732
Deuteranopia (green-blind)
#887C3B
Tritanopia (blue-blind)
#93716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897938;
/* rgb */ color: rgb(137, 121, 56);
/* oklch */ color: oklch(57.7% 0.087 95.7);
Tailwind
colors: {
  custom: {
    50: '#ae9f71',
    500: '#897938',
    950: '#000000',
  },
}
SCSS
$custom: #897938;
$custom-light: #ae9f71;
$custom-dark: #000000;
JSON
{
  "hex": "#897938",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 48.148,
    "s": 41.969,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.08729,
    "h": 95.7
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#897938
secondary
#6D7AAF
accent
#6ED256
background
#FAF9F6
surface
#F5F2EC
border
#CFCCC7
text
#110E08
muted
#807E7B

Preview Lab

Preview with #897938

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

Preview Lab → · Contrast checker → · Palette generator →

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