#898B16#898B16

#898B16 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.129 H 110.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#898B16
RGBrgb(137, 139, 22)
HSLhsl(61, 73%, 32%)
HSVhsv(61, 84%, 55%)
CMYKcmyk(1.4%, 0%, 84.2%, 45.5%)
CIE-LABlab(55.93, -14.17, 55.78)
CIE-LCHlch(55.93, 57.56, 104.25°)
OKLaboklab(61.52% -0.0455 0.1203)
OKLCHoklch(61.52% 0.129 110.7)
XYZxyz(19.6947, 23.8421, 4.3234)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B16 #18168B
analogous
#8B5316 #898B16 #4F8B16
triadic
#898B16 #16898B #8B1689
tetradic
#898B16 #168B53 #18168B #8B164F
square
#898B16 #168B53 #18168B #8B164F
split-complementary
#898B16 #164F8B #53168B
monochromatic
#212105 #55560E #898B16 #BDC01E #DDE03B

Accessibility & contrast

On white

3.64
#898B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#898B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B16
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B16#FFFFFF#000000##000000
##898B161.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#988722
Tritanopia (blue-blind)
#938276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b16;
/* rgb */ color: rgb(137, 139, 22);
/* oklch */ color: oklch(61.5% 0.129 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac61',
    500: '#898b16',
    950: '#000000',
  },
}
SCSS
$custom: #898b16;
$custom-light: #afac61;
$custom-dark: #000000;
JSON
{
  "hex": "#898b16",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 61.026,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61523,
    "c": 0.12857,
    "h": 110.7
  },
  "luminance": 0.23842
}

Semantic roles & 50–950 ramp

primary
#898B16
secondary
#403EBF
accent
#38EF3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898B16

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

Preview Lab → · Contrast checker → · Palette generator →

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