#898B25#898B25

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

Color values

HEX#898B25
RGBrgb(137, 139, 37)
HSLhsl(61, 58%, 35%)
HSVhsv(61, 73%, 55%)
CMYKcmyk(1.4%, 0%, 73.4%, 45.5%)
CIE-LABlab(56.01, -13.55, 51.03)
CIE-LCHlch(56.01, 52.80, 104.87°)
OKLaboklab(61.61% -0.0425 0.113)
OKLCHoklch(61.61% 0.121 110.6)
XYZxyz(19.8838, 23.9177, 5.3191)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B25 #27258B
analogous
#8B5A25 #898B25 #568B25
triadic
#898B25 #25898B #8B2589
tetradic
#898B25 #258B5A #27258B #8B2556
square
#898B25 #258B5A #27258B #8B2556
split-complementary
#898B25 #25568B #5A258B
monochromatic
#2A2A0B #595B18 #898B25 #B9BB32 #D0D358

Accessibility & contrast

On white

3.63
#898B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#898B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B25
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B25#FFFFFF#000000##000000
##898B251.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968512
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b25;
/* rgb */ color: rgb(137, 139, 37);
/* oklch */ color: oklch(61.6% 0.121 110.6);
Tailwind
colors: {
  custom: {
    50: '#afac67',
    500: '#898b25',
    950: '#000000',
  },
}
SCSS
$custom: #898b25;
$custom-light: #afac67;
$custom-dark: #000000;
JSON
{
  "hex": "#898b25",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 61.176,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.1207,
    "h": 110.6
  },
  "luminance": 0.23917
}

Semantic roles & 50–950 ramp

primary
#898B25
secondary
#5755B7
accent
#47E14A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B25

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

Preview Lab → · Contrast checker → · Palette generator →

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