#898F16#898F16

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

Color values

HEX#898F16
RGBrgb(137, 143, 22)
HSLhsl(63, 73%, 32%)
HSVhsv(63, 85%, 56%)
CMYKcmyk(4.2%, 0%, 84.6%, 43.9%)
CIE-LABlab(57.10, -16.27, 56.78)
CIE-LCHlch(57.10, 59.06, 105.99°)
OKLaboklab(62.46% -0.0513 0.1224)
OKLCHoklch(62.46% 0.133 112.7)
XYZxyz(20.2845, 25.0217, 4.5200)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F16 #1C168F
analogous
#8F5816 #898F16 #4D8F16
triadic
#898F16 #16898F #8F1689
tetradic
#898F16 #168F58 #1C168F #8F164D
square
#898F16 #168F58 #1C168F #8F164D
split-complementary
#898F16 #164D8F #58168F
monochromatic
#232506 #565A0E #898F16 #BCC41E #D9E13E

Accessibility & contrast

On white

3.50
#898F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#898F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F16
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F16#FFFFFF#000000##000000
##898F161.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898f16;
/* rgb */ color: rgb(137, 143, 22);
/* oklch */ color: oklch(62.5% 0.133 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf61',
    500: '#898f16',
    950: '#000000',
  },
}
SCSS
$custom: #898f16;
$custom-light: #afaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#898f16",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 62.975,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62458,
    "c": 0.13273,
    "h": 112.7
  },
  "luminance": 0.25021
}

Semantic roles & 50–950 ramp

primary
#898F16
secondary
#463FC1
accent
#38F041
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F16

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

Preview Lab → · Contrast checker → · Palette generator →

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