#898121#898121

#898121 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.113 H 104.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#898121
RGBrgb(137, 129, 33)
HSLhsl(55, 61%, 33%)
HSVhsv(55, 76%, 54%)
CMYKcmyk(0%, 5.8%, 75.9%, 46.3%)
CIE-LABlab(53.09, -8.34, 49.74)
CIE-LCHlch(53.09, 50.44, 99.52°)
OKLaboklab(59.28% -0.0283 0.1095)
OKLCHoklch(59.28% 0.113 104.5)
XYZxyz(18.4421, 21.1294, 4.5455)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898121 #212989
analogous
#894D21 #898121 #5D8921
triadic
#898121 #218981 #812189
tetradic
#898121 #21894D #212989 #89215D
square
#898121 #21894D #212989 #89215D
split-complementary
#898121 #215D89 #4D2189
monochromatic
#262409 #585315 #898121 #BAAF2D #D5CB50

Accessibility & contrast

On white

4.02
#898121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#898121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898121
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898121#FFFFFF#000000##000000
##8981211.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0E
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#94786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898121;
/* rgb */ color: rgb(137, 129, 33);
/* oklch */ color: oklch(59.3% 0.113 104.5);
Tailwind
colors: {
  custom: {
    50: '#afa564',
    500: '#898121',
    950: '#000000',
  },
}
SCSS
$custom: #898121;
$custom-light: #afa564;
$custom-dark: #000000;
JSON
{
  "hex": "#898121",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 55.385,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.11306,
    "h": 104.5
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#898121
secondary
#4E56B8
accent
#50E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898121

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

Preview Lab → · Contrast checker → · Palette generator →

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