#898B1D#898B1D

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

Color values

HEX#898B1D
RGBrgb(137, 139, 29)
HSLhsl(61, 65%, 33%)
HSVhsv(61, 79%, 55%)
CMYKcmyk(1.4%, 0%, 79.1%, 45.5%)
CIE-LABlab(55.96, -13.91, 53.77)
CIE-LCHlch(55.96, 55.54, 104.51°)
OKLaboklab(61.56% -0.0442 0.1173)
OKLCHoklch(61.56% 0.125 110.7)
XYZxyz(19.7716, 23.8729, 4.7286)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B1D #1F1D8B
analogous
#8B561D #898B1D #528B1D
triadic
#898B1D #1D898B #8B1D89
tetradic
#898B1D #1D8B56 #1F1D8B #8B1D52
square
#898B1D #1D8B56 #1F1D8B #8B1D52
split-complementary
#898B1D #1D528B #561D8B
monochromatic
#252608 #575812 #898B1D #BBBE28 #D6D949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898B1D#FFFFFF#000000##000000
##898B1D1.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)
#978500
Deuteranopia (green-blind)
#978827
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b1d;
/* rgb */ color: rgb(137, 139, 29);
/* oklch */ color: oklch(61.6% 0.125 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac63',
    500: '#898b1d',
    950: '#000000',
  },
}
SCSS
$custom: #898b1d;
$custom-light: #afac63;
$custom-dark: #000000;
JSON
{
  "hex": "#898b1d",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 61.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61558,
    "c": 0.12532,
    "h": 110.7
  },
  "luminance": 0.23872
}

Semantic roles & 50–950 ramp

primary
#898B1D
secondary
#4B49BB
accent
#3FE842
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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