#897B16#897B16

#897B16 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.114 H 100.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#897B16
RGBrgb(137, 123, 22)
HSLhsl(53, 72%, 31%)
HSVhsv(53, 84%, 54%)
CMYKcmyk(0%, 10.2%, 83.9%, 46.3%)
CIE-LABlab(51.32, -5.47, 51.83)
CIE-LCHlch(51.32, 52.12, 96.02°)
OKLaboklab(57.85% -0.0212 0.1117)
OKLCHoklch(57.85% 0.114 100.7)
XYZxyz(17.5452, 19.5431, 3.6069)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B16 #162489
analogous
#894116 #897B16 #5D8916
triadic
#897B16 #16897B #7B1689
tetradic
#897B16 #168941 #162489 #89165D
square
#897B16 #168941 #162489 #89165D
split-complementary
#897B16 #165D89 #411689
monochromatic
#201C05 #544C0E #897B16 #BEAA1E #DFCB3A

Accessibility & contrast

On white

4.28
#897B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#897B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B16
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B16#FFFFFF#000000##000000
##897B161.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897b16;
/* rgb */ color: rgb(137, 123, 22);
/* oklch */ color: oklch(57.8% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#afa05e',
    500: '#897b16',
    950: '#000000',
  },
}
SCSS
$custom: #897b16;
$custom-light: #afa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#897b16",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 52.696,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.11369,
    "h": 100.7
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#897B16
secondary
#3E4DBD
accent
#4FEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897B16

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

Preview Lab → · Contrast checker → · Palette generator →

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