#898023#898023

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

Color values

HEX#898023
RGBrgb(137, 128, 35)
HSLhsl(55, 59%, 34%)
HSVhsv(55, 74%, 54%)
CMYKcmyk(0%, 6.6%, 74.5%, 46.3%)
CIE-LABlab(52.82, -7.70, 48.72)
CIE-LCHlch(52.82, 49.33, 98.98°)
OKLaboklab(59.06% -0.0262 0.1077)
OKLCHoklch(59.06% 0.111 103.7)
XYZxyz(18.3399, 20.8788, 4.6537)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898023 #232C89
analogous
#894D23 #898023 #5F8923
triadic
#898023 #238980 #802389
tetradic
#898023 #23894D #232C89 #89235F
square
#898023 #23894D #232C89 #89235F
split-complementary
#898023 #235F89 #4D2389
monochromatic
#28250A #585217 #898023 #BAAE2F #D3C853

Accessibility & contrast

On white

4.06
#898023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##898023#FFFFFF#000000##000000
##8980231.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898023;
/* rgb */ color: rgb(137, 128, 35);
/* oklch */ color: oklch(59.1% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#afa465',
    500: '#898023',
    950: '#000000',
  },
}
SCSS
$custom: #898023;
$custom-light: #afa465;
$custom-dark: #000000;
JSON
{
  "hex": "#898023",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 54.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.11086,
    "h": 103.7
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#898023
secondary
#515AB7
accent
#53E245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898023

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

Preview Lab → · Contrast checker → · Palette generator →

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