#897E16#897E16

#897E16 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.116 H 102.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#897E16
RGBrgb(137, 126, 22)
HSLhsl(54, 72%, 31%)
HSVhsv(54, 84%, 54%)
CMYKcmyk(0%, 8%, 83.9%, 46.3%)
CIE-LABlab(52.17, -7.13, 52.57)
CIE-LCHlch(52.17, 53.05, 97.72°)
OKLaboklab(58.53% -0.0259 0.1133)
OKLCHoklch(58.53% 0.116 102.9)
XYZxyz(17.9231, 20.2988, 3.7329)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E16 #162189
analogous
#894416 #897E16 #5A8916
triadic
#897E16 #16897E #7E1689
tetradic
#897E16 #168944 #162189 #89165A
square
#897E16 #168944 #162189 #89165A
split-complementary
#897E16 #165A89 #441689
monochromatic
#201D05 #544E0E #897E16 #BEAE1E #DFD03A

Accessibility & contrast

On white

4.15
#897E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#897E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E16#FFFFFF#000000##000000
##897E161.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8E7F1F
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897e16;
/* rgb */ color: rgb(137, 126, 22);
/* oklch */ color: oklch(58.5% 0.116 102.9);
Tailwind
colors: {
  custom: {
    50: '#afa35f',
    500: '#897e16',
    950: '#000000',
  },
}
SCSS
$custom: #897e16;
$custom-light: #afa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#897e16",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 54.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.11621,
    "h": 102.9
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#897E16
secondary
#3E4ABD
accent
#4AEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #897E16

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

Preview Lab → · Contrast checker → · Palette generator →

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