#898F1F#898F1F

#898F1F is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.129 H 112.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#898F1F
RGBrgb(137, 143, 31)
HSLhsl(63, 64%, 34%)
HSVhsv(63, 78%, 56%)
CMYKcmyk(4.2%, 0%, 78.3%, 43.9%)
CIE-LABlab(57.14, -15.94, 54.19)
CIE-LCHlch(57.14, 56.49, 106.39°)
OKLaboklab(62.5% -0.0497 0.1185)
OKLCHoklch(62.5% 0.129 112.7)
XYZxyz(20.3870, 25.0627, 5.0597)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F1F #251F8F
analogous
#8F5D1F #898F1F #518F1F
triadic
#898F1F #1F898F #8F1F89
tetradic
#898F1F #1F8F5D #251F8F #8F1F51
square
#898F1F #1F8F5D #251F8F #8F1F51
split-complementary
#898F1F #1F518F #5D1F8F
monochromatic
#292A09 #595D14 #898F1F #B9C12A #D2D94F

Accessibility & contrast

On white

3.49
#898F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#898F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F1F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F1F#FFFFFF#000000##000000
##898F1F1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f1f;
/* rgb */ color: rgb(137, 143, 31);
/* oklch */ color: oklch(62.5% 0.129 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf65',
    500: '#898f1f',
    950: '#000000',
  },
}
SCSS
$custom: #898f1f;
$custom-light: #afaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#898f1f",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 63.214,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62502,
    "c": 0.12853,
    "h": 112.7
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#898F1F
secondary
#544EBC
accent
#40E749
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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