#898B26#898B26

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

Color values

HEX#898B26
RGBrgb(137, 139, 38)
HSLhsl(61, 57%, 35%)
HSVhsv(61, 73%, 55%)
CMYKcmyk(1.4%, 0%, 72.7%, 45.5%)
CIE-LABlab(56.01, -13.50, 50.66)
CIE-LCHlch(56.01, 52.43, 104.92°)
OKLaboklab(61.61% -0.0422 0.1124)
OKLCHoklch(61.61% 0.12 110.6)
XYZxyz(19.8997, 23.9241, 5.4029)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B26 #28268B
analogous
#8B5B26 #898B26 #578B26
triadic
#898B26 #26898B #8B2689
tetradic
#898B26 #268B5B #28268B #8B2657
square
#898B26 #268B5B #28268B #8B2657
split-complementary
#898B26 #26578B #5B268B
monochromatic
#2A2B0C #5A5B19 #898B26 #B8BB33 #CFD25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898B26#FFFFFF#000000##000000
##898B261.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)
#968514
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b26;
/* rgb */ color: rgb(137, 139, 38);
/* oklch */ color: oklch(61.6% 0.120 110.6);
Tailwind
colors: {
  custom: {
    50: '#aeac68',
    500: '#898b26',
    950: '#000000',
  },
}
SCSS
$custom: #898b26;
$custom-light: #aeac68;
$custom-dark: #000000;
JSON
{
  "hex": "#898b26",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 61.188,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.12005,
    "h": 110.6
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#898B26
secondary
#5856B7
accent
#47E04B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B26

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

Preview Lab → · Contrast checker → · Palette generator →

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