#898E11#898E11

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

Color values

HEX#898E11
RGBrgb(137, 142, 17)
HSLhsl(62, 79%, 31%)
HSVhsv(62, 88%, 56%)
CMYKcmyk(3.5%, 0%, 88%, 44.3%)
CIE-LABlab(56.79, -15.89, 57.70)
CIE-LCHlch(56.79, 59.85, 105.40°)
OKLaboklab(62.21% -0.0505 0.1236)
OKLCHoklch(62.21% 0.134 112.2)
XYZxyz(20.0914, 24.7054, 4.2405)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E11 #16118E
analogous
#8E5411 #898E11 #4A8E11
triadic
#898E11 #11898E #8E1189
tetradic
#898E11 #118E54 #16118E #8E114A
square
#898E11 #118E54 #16118E #8E114A
split-complementary
#898E11 #114A8E #54118E
monochromatic
#202104 #54570A #898E11 #BEC518 #DFE733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E11#FFFFFF#000000##000000
##898E111.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)
#9A8A20
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e11;
/* rgb */ color: rgb(137, 142, 17);
/* oklch */ color: oklch(62.2% 0.134 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae5f',
    500: '#898e11',
    950: '#000000',
  },
}
SCSS
$custom: #898e11;
$custom-light: #afae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#898e11",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 62.4,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.13351,
    "h": 112.2
  },
  "luminance": 0.24705
}

Semantic roles & 50–950 ramp

primary
#898E11
secondary
#3E38C2
accent
#33F53A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898E11

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

Preview Lab → · Contrast checker → · Palette generator →

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