#897948#897948

#897948 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.070 H 91.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#897948
RGBrgb(137, 121, 72)
HSLhsl(45, 31%, 41%)
HSVhsv(45, 47%, 54%)
CMYKcmyk(0%, 11.7%, 47.4%, 46.3%)
CIE-LABlab(51.22, -0.91, 29.04)
CIE-LCHlch(51.22, 29.05, 91.79°)
OKLaboklab(57.92% -0.0024 0.0702)
OKLCHoklch(57.92% 0.07 91.9)
XYZxyz(18.3241, 19.4617, 8.9209)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897948 #485889
analogous
#895848 #897948 #788948
triadic
#897948 #488979 #794889
tetradic
#897948 #488958 #485889 #894878
square
#897948 #488958 #485889 #894878
split-complementary
#897948 #487889 #584889
monochromatic
#39321E #615633 #897948 #AC9A62 #C1B48A

Accessibility & contrast

On white

4.29
#897948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#897948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897948
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897948#FFFFFF#000000##000000
##8979481.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837744
Deuteranopia (green-blind)
#877C4A
Tritanopia (blue-blind)
#92726D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897948;
/* rgb */ color: rgb(137, 121, 72);
/* oklch */ color: oklch(57.9% 0.070 91.9);
Tailwind
colors: {
  custom: {
    50: '#ad9f7c',
    500: '#897948',
    950: '#000000',
  },
}
SCSS
$custom: #897948;
$custom-light: #ad9f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#897948",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 45.231,
    "s": 31.1,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.07024,
    "h": 91.9
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#897948
secondary
#808BAD
accent
#7AC761
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #897948

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

Preview Lab → · Contrast checker → · Palette generator →

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