#898F1E#898F1E

#898F1E 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#898F1E
RGBrgb(137, 143, 30)
HSLhsl(63, 65%, 34%)
HSVhsv(63, 79%, 56%)
CMYKcmyk(4.2%, 0%, 79%, 43.9%)
CIE-LABlab(57.13, -15.98, 54.51)
CIE-LCHlch(57.13, 56.81, 106.34°)
OKLaboklab(62.5% -0.0499 0.119)
OKLCHoklch(62.5% 0.129 112.7)
XYZxyz(20.3740, 25.0575, 4.9914)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F1E #241E8F
analogous
#8F5D1E #898F1E #518F1E
triadic
#898F1E #1E898F #8F1E89
tetradic
#898F1E #1E8F5D #241E8F #8F1E51
square
#898F1E #1E8F5D #241E8F #8F1E51
split-complementary
#898F1E #1E518F #5D1E8F
monochromatic
#282A09 #595C13 #898F1E #B9C229 #D2DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898F1E#FFFFFF#000000##000000
##898F1E1.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)
#9A8800
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f1e;
/* rgb */ color: rgb(137, 143, 30);
/* oklch */ color: oklch(62.5% 0.129 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf64',
    500: '#898f1e',
    950: '#000000',
  },
}
SCSS
$custom: #898f1e;
$custom-light: #afaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#898f1e",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 63.186,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62497,
    "c": 0.12905,
    "h": 112.7
  },
  "luminance": 0.25057
}

Semantic roles & 50–950 ramp

primary
#898F1E
secondary
#524CBC
accent
#40E848
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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