#898127#898127

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

Color values

HEX#898127
RGBrgb(137, 129, 39)
HSLhsl(55, 56%, 35%)
HSVhsv(55, 72%, 54%)
CMYKcmyk(0%, 5.8%, 71.5%, 46.3%)
CIE-LABlab(53.13, -8.04, 47.44)
CIE-LCHlch(53.13, 48.11, 99.61°)
OKLaboklab(59.32% -0.0268 0.1058)
OKLCHoklch(59.32% 0.109 104.2)
XYZxyz(18.5338, 21.1661, 5.0283)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898127 #272F89
analogous
#895027 #898127 #608927
triadic
#898127 #278981 #812789
tetradic
#898127 #278950 #272F89 #892760
square
#898127 #278950 #272F89 #892760
split-complementary
#898127 #276089 #502789
monochromatic
#2A270C #595419 #898127 #B9AE35 #D0C65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898127#FFFFFF#000000##000000
##8981271.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)
#8D7C19
Deuteranopia (green-blind)
#8F812D
Tritanopia (blue-blind)
#93786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898127;
/* rgb */ color: rgb(137, 129, 39);
/* oklch */ color: oklch(59.3% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#aea567',
    500: '#898127',
    950: '#000000',
  },
}
SCSS
$custom: #898127;
$custom-light: #aea567;
$custom-dark: #000000;
JSON
{
  "hex": "#898127",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 55.102,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5932,
    "c": 0.10908,
    "h": 104.2
  },
  "luminance": 0.21165
}

Semantic roles & 50–950 ramp

primary
#898127
secondary
#575EB5
accent
#55DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898127

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

Preview Lab → · Contrast checker → · Palette generator →

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