#898B20#898B20

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

Color values

HEX#898B20
RGBrgb(137, 139, 32)
HSLhsl(61, 63%, 34%)
HSVhsv(61, 77%, 55%)
CMYKcmyk(1.4%, 0%, 77%, 45.5%)
CIE-LABlab(55.98, -13.79, 52.80)
CIE-LCHlch(55.98, 54.57, 104.64°)
OKLaboklab(61.58% -0.0436 0.1158)
OKLCHoklch(61.58% 0.124 110.6)
XYZxyz(19.8106, 23.8884, 4.9336)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B20 #22208B
analogous
#8B5720 #898B20 #538B20
triadic
#898B20 #20898B #8B2089
tetradic
#898B20 #208B57 #22208B #8B2053
square
#898B20 #208B57 #22208B #8B2053
split-complementary
#898B20 #20538B #57208B
monochromatic
#272809 #585915 #898B20 #BABD2B #D4D64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898B20#FFFFFF#000000##000000
##898B201.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)
#968506
Deuteranopia (green-blind)
#978829
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b20;
/* rgb */ color: rgb(137, 139, 32);
/* oklch */ color: oklch(61.6% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#afac65',
    500: '#898b20',
    950: '#000000',
  },
}
SCSS
$custom: #898b20;
$custom-light: #afac65;
$custom-dark: #000000;
JSON
{
  "hex": "#898b20",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 61.121,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.1237,
    "h": 110.6
  },
  "luminance": 0.23888
}

Semantic roles & 50–950 ramp

primary
#898B20
secondary
#4F4DBA
accent
#42E645
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B20

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

Preview Lab → · Contrast checker → · Palette generator →

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