#898A1B#898A1B

#898A1B is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.125 H 110.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#898A1B
RGBrgb(137, 138, 27)
HSLhsl(61, 67%, 32%)
HSVhsv(61, 80%, 54%)
CMYKcmyk(0.7%, 0%, 80.4%, 45.9%)
CIE-LABlab(55.66, -13.46, 54.13)
CIE-LCHlch(55.66, 55.77, 103.97°)
OKLaboklab(61.32% -0.0431 0.1176)
OKLCHoklch(61.32% 0.125 110.1)
XYZxyz(19.6036, 23.5750, 4.5545)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898A1B #1C1B8A
analogous
#8A541B #898A1B #518A1B
triadic
#898A1B #1B898A #8A1B89
tetradic
#898A1B #1B8A54 #1C1B8A #8A1B51
square
#898A1B #1B8A54 #1C1B8A #8A1B51
split-complementary
#898A1B #1B518A #541B8A
monochromatic
#232407 #565711 #898A1B #BCBD25 #D9DB45

Accessibility & contrast

On white

3.67
#898A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#898A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898A1B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898A1B#FFFFFF#000000##000000
##898A1B1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#938176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898a1b;
/* rgb */ color: rgb(137, 138, 27);
/* oklch */ color: oklch(61.3% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#afab62',
    500: '#898a1b',
    950: '#000000',
  },
}
SCSS
$custom: #898a1b;
$custom-light: #afab62;
$custom-dark: #000000;
JSON
{
  "hex": "#898a1b",
  "rgb": {
    "r": 137,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 60.541,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.12529,
    "h": 110.1
  },
  "luminance": 0.23574
}

Semantic roles & 50–950 ramp

primary
#898A1B
secondary
#4645BC
accent
#3EEA3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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