#898928#898928

#898928 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.117 H 109.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#898928
RGBrgb(137, 137, 40)
HSLhsl(60, 55%, 35%)
HSVhsv(60, 71%, 54%)
CMYKcmyk(0%, 0%, 70.8%, 46.3%)
CIE-LABlab(55.44, -12.32, 49.33)
CIE-LCHlch(55.44, 50.85, 104.02°)
OKLaboklab(61.17% -0.0387 0.1099)
OKLCHoklch(61.17% 0.117 109.4)
XYZxyz(19.6459, 23.3635, 5.4818)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898928 #282889
analogous
#895928 #898928 #598928
triadic
#898928 #288989 #892889
tetradic
#898928 #288959 #282889 #892859
square
#898928 #288959 #282889 #892859
split-complementary
#898928 #285989 #592889
monochromatic
#2A2A0C #5A5A1A #898928 #B8B836 #CFCF5C

Accessibility & contrast

On white

3.70
#898928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#898928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898928
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898928#FFFFFF#000000##000000
##8989281.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#938076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898928;
/* rgb */ color: rgb(137, 137, 40);
/* oklch */ color: oklch(61.2% 0.117 109.4);
Tailwind
colors: {
  custom: {
    50: '#aeab69',
    500: '#898928',
    950: '#000000',
  },
}
SCSS
$custom: #898928;
$custom-light: #aeab69;
$custom-dark: #000000;
JSON
{
  "hex": "#898928",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.11655,
    "h": 109.4
  },
  "luminance": 0.23363
}

Semantic roles & 50–950 ramp

primary
#898928
secondary
#5858B5
accent
#4ADE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898928

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

Preview Lab → · Contrast checker → · Palette generator →

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