#898722#898722

#898722 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.118 H 108.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#898722
RGBrgb(137, 135, 34)
HSLhsl(59, 60%, 34%)
HSVhsv(59, 75%, 54%)
CMYKcmyk(0%, 1.5%, 75.2%, 46.3%)
CIE-LABlab(54.83, -11.56, 51.02)
CIE-LCHlch(54.83, 52.31, 102.76°)
OKLaboklab(60.66% -0.0372 0.1124)
OKLCHoklch(60.66% 0.118 108.3)
XYZxyz(19.2700, 22.7624, 4.8916)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898722 #222489
analogous
#895322 #898722 #578922
triadic
#898722 #228987 #872289
tetradic
#898722 #228953 #222489 #892257
square
#898722 #228953 #222489 #892257
split-complementary
#898722 #225789 #532289
monochromatic
#27260A #585716 #898722 #BAB72E #D4D151

Accessibility & contrast

On white

3.78
#898722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#898722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898722
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898722#FFFFFF#000000##000000
##8987221.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810D
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#937E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898722;
/* rgb */ color: rgb(137, 135, 34);
/* oklch */ color: oklch(60.7% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#afa965',
    500: '#898722',
    950: '#000000',
  },
}
SCSS
$custom: #898722;
$custom-light: #afa965;
$custom-dark: #000000;
JSON
{
  "hex": "#898722",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 58.835,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.11836,
    "h": 108.3
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#898722
secondary
#4F51B8
accent
#48E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898722

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

Preview Lab → · Contrast checker → · Palette generator →

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