#898125#898125

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

Color values

HEX#898125
RGBrgb(137, 129, 37)
HSLhsl(55, 57%, 34%)
HSVhsv(55, 73%, 54%)
CMYKcmyk(0%, 5.8%, 73%, 46.3%)
CIE-LABlab(53.12, -8.14, 48.23)
CIE-LCHlch(53.12, 48.91, 99.58°)
OKLaboklab(59.3% -0.0273 0.1071)
OKLCHoklch(59.3% 0.11 104.3)
XYZxyz(18.5015, 21.1532, 4.8583)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898125 #252D89
analogous
#894F25 #898125 #5F8925
triadic
#898125 #258981 #812589
tetradic
#898125 #25894F #252D89 #89255F
square
#898125 #25894F #252D89 #89255F
split-complementary
#898125 #255F89 #4F2589
monochromatic
#29260B #595418 #898125 #B9AE32 #D2C857

Accessibility & contrast

On white

4.01
#898125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##898125#FFFFFF#000000##000000
##8981251.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C16
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#93786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898125;
/* rgb */ color: rgb(137, 129, 37);
/* oklch */ color: oklch(59.3% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#afa566',
    500: '#898125',
    950: '#000000',
  },
}
SCSS
$custom: #898125;
$custom-light: #afa566;
$custom-dark: #000000;
JSON
{
  "hex": "#898125",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 55.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.11047,
    "h": 104.3
  },
  "luminance": 0.21152
}

Semantic roles & 50–950 ramp

primary
#898125
secondary
#545CB6
accent
#53E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898125

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

Preview Lab → · Contrast checker → · Palette generator →

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