#898028#898028

#898028 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.107 H 103.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#898028
RGBrgb(137, 128, 40)
HSLhsl(54, 55%, 35%)
HSVhsv(54, 71%, 54%)
CMYKcmyk(0%, 6.6%, 70.8%, 46.3%)
CIE-LABlab(52.85, -7.43, 46.74)
CIE-LCHlch(52.85, 47.33, 99.03°)
OKLaboklab(59.1% -0.0249 0.1045)
OKLCHoklch(59.1% 0.107 103.4)
XYZxyz(18.4195, 20.9106, 5.0730)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898028 #283189
analogous
#895028 #898028 #628928
triadic
#898028 #288980 #802889
tetradic
#898028 #288950 #283189 #892862
square
#898028 #288950 #283189 #892862
split-complementary
#898028 #286289 #502889
monochromatic
#2A270C #5A541A #898028 #B8AC36 #CFC55C

Accessibility & contrast

On white

4.05
#898028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#898028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898028
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898028#FFFFFF#000000##000000
##8980281.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#93776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898028;
/* rgb */ color: rgb(137, 128, 40);
/* oklch */ color: oklch(59.1% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#aea468',
    500: '#898028',
    950: '#000000',
  },
}
SCSS
$custom: #898028;
$custom-light: #aea468;
$custom-dark: #000000;
JSON
{
  "hex": "#898028",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 54.433,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.591,
    "c": 0.1074,
    "h": 103.4
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#898028
secondary
#5861B5
accent
#57DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898028

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

Preview Lab → · Contrast checker → · Palette generator →

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