#898C20#898C20

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

Color values

HEX#898C20
RGBrgb(137, 140, 32)
HSLhsl(62, 63%, 34%)
HSVhsv(62, 77%, 55%)
CMYKcmyk(2.1%, 0%, 77.1%, 45.1%)
CIE-LABlab(56.27, -14.32, 53.06)
CIE-LCHlch(56.27, 54.96, 105.10°)
OKLaboklab(61.81% -0.0451 0.1163)
OKLCHoklch(61.81% 0.125 111.2)
XYZxyz(19.9560, 24.1794, 4.9821)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C20 #23208C
analogous
#8C5920 #898C20 #538C20
triadic
#898C20 #20898C #8C2089
tetradic
#898C20 #208C59 #23208C #8C2053
square
#898C20 #208C59 #23208C #8C2053
split-complementary
#898C20 #20538C #59208C
monochromatic
#282809 #585A15 #898C20 #BABE2B #D3D750

Accessibility & contrast

On white

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

On black

5.84
#898C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C20
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C20#FFFFFF#000000##000000
##898C201.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978505
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#938378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c20;
/* rgb */ color: rgb(137, 140, 32);
/* oklch */ color: oklch(61.8% 0.125 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad65',
    500: '#898c20',
    950: '#000000',
  },
}
SCSS
$custom: #898c20;
$custom-light: #afad65;
$custom-dark: #000000;
JSON
{
  "hex": "#898c20",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 61.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61808,
    "c": 0.12476,
    "h": 111.2
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#898C20
secondary
#514EBA
accent
#42E647
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898C20

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

Preview Lab → · Contrast checker → · Palette generator →

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