#898B24#898B24

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

Color values

HEX#898B24
RGBrgb(137, 139, 36)
HSLhsl(61, 59%, 34%)
HSVhsv(61, 74%, 55%)
CMYKcmyk(1.4%, 0%, 74.1%, 45.5%)
CIE-LABlab(56.00, -13.60, 51.40)
CIE-LCHlch(56.00, 53.17, 104.82°)
OKLaboklab(61.6% -0.0427 0.1136)
OKLCHoklch(61.6% 0.121 110.6)
XYZxyz(19.8683, 23.9115, 5.2375)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B24 #26248B
analogous
#8B5A24 #898B24 #568B24
triadic
#898B24 #24898B #8B2489
tetradic
#898B24 #248B5A #26248B #8B2456
square
#898B24 #248B5A #26248B #8B2456
split-complementary
#898B24 #24568B #5A248B
monochromatic
#292A0B #595A17 #898B24 #B9BC31 #D1D356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898B24#FFFFFF#000000##000000
##898B241.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)
#968510
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b24;
/* rgb */ color: rgb(137, 139, 36);
/* oklch */ color: oklch(61.6% 0.121 110.6);
Tailwind
colors: {
  custom: {
    50: '#afac67',
    500: '#898b24',
    950: '#000000',
  },
}
SCSS
$custom: #898b24;
$custom-light: #afac67;
$custom-dark: #000000;
JSON
{
  "hex": "#898b24",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 61.165,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.12132,
    "h": 110.6
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

primary
#898B24
secondary
#5553B7
accent
#46E249
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B24

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

Preview Lab → · Contrast checker → · Palette generator →

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