#898922#898922

#898922 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.120 H 109.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#898922
RGBrgb(137, 137, 34)
HSLhsl(60, 60%, 34%)
HSVhsv(60, 75%, 54%)
CMYKcmyk(0%, 0%, 75.2%, 46.3%)
CIE-LABlab(55.41, -12.63, 51.56)
CIE-LCHlch(55.41, 53.09, 103.76°)
OKLaboklab(61.12% -0.0402 0.1135)
OKLCHoklch(61.12% 0.12 109.5)
XYZxyz(19.5516, 23.3258, 4.9855)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898922 #222289
analogous
#895522 #898922 #558922
triadic
#898922 #228989 #892289
tetradic
#898922 #228955 #222289 #892255
square
#898922 #228955 #222289 #892255
split-complementary
#898922 #225589 #552289
monochromatic
#27270A #585816 #898922 #BABA2E #D4D451

Accessibility & contrast

On white

3.71
#898922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#898922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898922
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898922#FFFFFF#000000##000000
##8989221.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830C
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898922;
/* rgb */ color: rgb(137, 137, 34);
/* oklch */ color: oklch(61.1% 0.120 109.5);
Tailwind
colors: {
  custom: {
    50: '#afab65',
    500: '#898922',
    950: '#000000',
  },
}
SCSS
$custom: #898922;
$custom-light: #afab65;
$custom-dark: #000000;
JSON
{
  "hex": "#898922",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.12043,
    "h": 109.5
  },
  "luminance": 0.23325
}

Semantic roles & 50–950 ramp

primary
#898922
secondary
#4F4FB8
accent
#44E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898922

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

Preview Lab → · Contrast checker → · Palette generator →

#898922 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva