#898B1C#898B1C

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

Color values

HEX#898B1C
RGBrgb(137, 139, 28)
HSLhsl(61, 66%, 33%)
HSVhsv(61, 80%, 55%)
CMYKcmyk(1.4%, 0%, 79.9%, 45.5%)
CIE-LABlab(55.96, -13.95, 54.08)
CIE-LCHlch(55.96, 55.85, 104.47°)
OKLaboklab(61.55% -0.0444 0.1177)
OKLCHoklch(61.55% 0.126 110.7)
XYZxyz(19.7595, 23.8680, 4.6645)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B1C #1E1C8B
analogous
#8B551C #898B1C #518B1C
triadic
#898B1C #1C898B #8B1C89
tetradic
#898B1C #1C8B55 #1E1C8B #8B1C51
square
#898B1C #1C8B55 #1E1C8B #8B1C51
split-complementary
#898B1C #1C518B #551C8B
monochromatic
#252507 #575812 #898B1C #BBBE26 #D7DA47

Accessibility & contrast

On white

3.64
#898B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#898B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B1C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B1C#FFFFFF#000000##000000
##898B1C1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978826
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b1c;
/* rgb */ color: rgb(137, 139, 28);
/* oklch */ color: oklch(61.6% 0.126 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac63',
    500: '#898b1c',
    950: '#000000',
  },
}
SCSS
$custom: #898b1c;
$custom-light: #afac63;
$custom-dark: #000000;
JSON
{
  "hex": "#898b1c",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 61.081,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.12583,
    "h": 110.7
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

primary
#898B1C
secondary
#4947BC
accent
#3EE941
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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