#898C1B#898C1B

#898C1B is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.127 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#898C1B
RGBrgb(137, 140, 27)
HSLhsl(62, 68%, 33%)
HSVhsv(62, 81%, 55%)
CMYKcmyk(2.1%, 0%, 80.7%, 45.1%)
CIE-LABlab(56.24, -14.52, 54.64)
CIE-LCHlch(56.24, 56.54, 104.88°)
OKLaboklab(61.78% -0.0461 0.1188)
OKLCHoklch(61.78% 0.127 111.2)
XYZxyz(19.8932, 24.1542, 4.6510)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C1B #1E1B8C
analogous
#8C561B #898C1B #508C1B
triadic
#898C1B #1B898C #8C1B89
tetradic
#898C1B #1B8C56 #1E1B8C #8C1B50
square
#898C1B #1B8C56 #1E1B8C #8C1B50
split-complementary
#898C1B #1B508C #561B8C
monochromatic
#252507 #575911 #898C1B #BBBF25 #D7DB46

Accessibility & contrast

On white

3.60
#898C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#898C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C1B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C1B#FFFFFF#000000##000000
##898C1B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c1b;
/* rgb */ color: rgb(137, 140, 27);
/* oklch */ color: oklch(61.8% 0.127 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad63',
    500: '#898c1b',
    950: '#000000',
  },
}
SCSS
$custom: #898c1b;
$custom-light: #afad63;
$custom-dark: #000000;
JSON
{
  "hex": "#898c1b",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 61.593,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.12737,
    "h": 111.2
  },
  "luminance": 0.24154
}

Semantic roles & 50–950 ramp

primary
#898C1B
secondary
#4946BD
accent
#3DEB42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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