#897F19#897F19

#897F19 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.116 H 103.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#897F19
RGBrgb(137, 127, 25)
HSLhsl(55, 69%, 32%)
HSVhsv(55, 82%, 54%)
CMYKcmyk(0%, 7.3%, 81.8%, 46.3%)
CIE-LABlab(52.47, -7.58, 51.92)
CIE-LCHlch(52.47, 52.47, 98.30°)
OKLaboklab(58.77% -0.0269 0.1125)
OKLCHoklch(58.77% 0.116 103.4)
XYZxyz(18.0822, 20.5681, 3.9371)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F19 #192389
analogous
#894719 #897F19 #5B8919
triadic
#897F19 #19897F #7F1989
tetradic
#897F19 #198947 #192389 #89195B
square
#897F19 #198947 #192389 #89195B
split-complementary
#897F19 #195B89 #471989
monochromatic
#211F06 #554F10 #897F19 #BDAF22 #DCCE40

Accessibility & contrast

On white

4.11
#897F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#897F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F19
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F19#FFFFFF#000000##000000
##897F191.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f19;
/* rgb */ color: rgb(137, 127, 25);
/* oklch */ color: oklch(58.8% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#afa360',
    500: '#897f19',
    950: '#000000',
  },
}
SCSS
$custom: #897f19;
$custom-light: #afa360;
$custom-dark: #000000;
JSON
{
  "hex": "#897f19",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 54.643,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.11567,
    "h": 103.4
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#897F19
secondary
#414CBC
accent
#4CEC3C
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #897F19

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

Preview Lab → · Contrast checker → · Palette generator →

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