#898B23#898B23

#898B23 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.122 H 110.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#898B23
RGBrgb(137, 139, 35)
HSLhsl(61, 60%, 34%)
HSVhsv(61, 75%, 55%)
CMYKcmyk(1.4%, 0%, 74.8%, 45.5%)
CIE-LABlab(55.99, -13.65, 51.76)
CIE-LCHlch(55.99, 53.53, 104.77°)
OKLaboklab(61.59% -0.0429 0.1141)
OKLCHoklch(61.59% 0.122 110.6)
XYZxyz(19.8532, 23.9055, 5.1582)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B23 #25238B
analogous
#8B5923 #898B23 #558B23
triadic
#898B23 #23898B #8B2389
tetradic
#898B23 #238B59 #25238B #8B2355
square
#898B23 #238B59 #25238B #8B2355
split-complementary
#898B23 #23558B #59238B
monochromatic
#29290A #595A17 #898B23 #B9BC2F #D2D454

Accessibility & contrast

On white

3.63
#898B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#898B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B23
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B23#FFFFFF#000000##000000
##898B231.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850E
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b23;
/* rgb */ color: rgb(137, 139, 35);
/* oklch */ color: oklch(61.6% 0.122 110.6);
Tailwind
colors: {
  custom: {
    50: '#afac66',
    500: '#898b23',
    950: '#000000',
  },
}
SCSS
$custom: #898b23;
$custom-light: #afac66;
$custom-dark: #000000;
JSON
{
  "hex": "#898b23",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 61.154,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.12194,
    "h": 110.6
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#898B23
secondary
#5452B8
accent
#45E348
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B23

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

Preview Lab → · Contrast checker → · Palette generator →

#898B23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva