#898E16#898E16

#898E16 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.132 H 112.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#898E16
RGBrgb(137, 142, 22)
HSLhsl(63, 73%, 32%)
HSVhsv(63, 85%, 56%)
CMYKcmyk(3.5%, 0%, 84.5%, 44.3%)
CIE-LABlab(56.80, -15.75, 56.53)
CIE-LCHlch(56.80, 58.68, 105.57°)
OKLaboklab(62.22% -0.0498 0.1219)
OKLCHoklch(62.22% 0.132 112.2)
XYZxyz(20.1351, 24.7228, 4.4702)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E16 #1B168E
analogous
#8E5716 #898E16 #4D8E16
triadic
#898E16 #16898E #8E1689
tetradic
#898E16 #168E57 #1B168E #8E164D
square
#898E16 #168E57 #1B168E #8E164D
split-complementary
#898E16 #164D8E #57168E
monochromatic
#232406 #56590E #898E16 #BCC31E #DAE13D

Accessibility & contrast

On white

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

On black

5.94
#898E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E16
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E16#FFFFFF#000000##000000
##898E161.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898e16;
/* rgb */ color: rgb(137, 142, 22);
/* oklch */ color: oklch(62.2% 0.132 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae61',
    500: '#898e16',
    950: '#000000',
  },
}
SCSS
$custom: #898e16;
$custom-light: #afae61;
$custom-dark: #000000;
JSON
{
  "hex": "#898e16",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 62.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.13168,
    "h": 112.2
  },
  "luminance": 0.24722
}

Semantic roles & 50–950 ramp

primary
#898E16
secondary
#443FC1
accent
#38F040
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E16

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

Preview Lab → · Contrast checker → · Palette generator →

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