#898E25#898E25

#898E25 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.124 H 112.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#898E25
RGBrgb(137, 142, 37)
HSLhsl(63, 59%, 35%)
HSVhsv(63, 74%, 56%)
CMYKcmyk(3.5%, 0%, 73.9%, 44.3%)
CIE-LABlab(56.88, -15.14, 51.87)
CIE-LCHlch(56.88, 54.04, 106.27°)
OKLaboklab(62.31% -0.0469 0.1148)
OKLCHoklch(62.31% 0.124 112.2)
XYZxyz(20.3241, 24.7984, 5.4659)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E25 #2A258E
analogous
#8E5E25 #898E25 #558E25
triadic
#898E25 #25898E #8E2589
tetradic
#898E25 #258E5E #2A258E #8E2555
square
#898E25 #258E5E #2A258E #8E2555
split-complementary
#898E25 #25558E #5E258E
monochromatic
#2B2D0C #5A5D18 #898E25 #B8BF32 #CED45A

Accessibility & contrast

On white

3.52
#898E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#898E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E25
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E25#FFFFFF#000000##000000
##898E251.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998711
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e25;
/* rgb */ color: rgb(137, 142, 37);
/* oklch */ color: oklch(62.3% 0.124 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae68',
    500: '#898e25',
    950: '#000000',
  },
}
SCSS
$custom: #898e25;
$custom-light: #afae68;
$custom-dark: #000000;
JSON
{
  "hex": "#898e25",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 62.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62307,
    "c": 0.12396,
    "h": 112.2
  },
  "luminance": 0.24798
}

Semantic roles & 50–950 ramp

primary
#898E25
secondary
#5B56B9
accent
#46E24D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E25

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

Preview Lab → · Contrast checker → · Palette generator →

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