#898E1F#898E1F

#898E1F is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.127 H 112.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#898E1F
RGBrgb(137, 142, 31)
HSLhsl(63, 64%, 34%)
HSVhsv(63, 78%, 56%)
CMYKcmyk(3.5%, 0%, 78.2%, 44.3%)
CIE-LABlab(56.84, -15.42, 53.93)
CIE-LCHlch(56.84, 56.09, 105.95°)
OKLaboklab(62.27% -0.0482 0.118)
OKLCHoklch(62.27% 0.127 112.2)
XYZxyz(20.2375, 24.7638, 5.0099)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E1F #241F8E
analogous
#8E5C1F #898E1F #528E1F
triadic
#898E1F #1F898E #8E1F89
tetradic
#898E1F #1F8E5C #241F8E #8E1F52
square
#898E1F #1F8E5C #241F8E #8E1F52
split-complementary
#898E1F #1F528E #5C1F8E
monochromatic
#282A09 #595C14 #898E1F #B9C02A #D2D94F

Accessibility & contrast

On white

3.53
#898E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#898E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E1F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E1F#FFFFFF#000000##000000
##898E1F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998701
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e1f;
/* rgb */ color: rgb(137, 142, 31);
/* oklch */ color: oklch(62.3% 0.127 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae65',
    500: '#898e1f',
    950: '#000000',
  },
}
SCSS
$custom: #898e1f;
$custom-light: #afae65;
$custom-dark: #000000;
JSON
{
  "hex": "#898e1f",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 62.703,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.12745,
    "h": 112.2
  },
  "luminance": 0.24763
}

Semantic roles & 50–950 ramp

primary
#898E1F
secondary
#524DBB
accent
#41E748
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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