#898E24#898E24

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

Color values

HEX#898E24
RGBrgb(137, 142, 36)
HSLhsl(63, 60%, 35%)
HSVhsv(63, 75%, 56%)
CMYKcmyk(3.5%, 0%, 74.6%, 44.3%)
CIE-LABlab(56.87, -15.19, 52.23)
CIE-LCHlch(56.87, 54.40, 106.21°)
OKLaboklab(62.3% -0.0471 0.1153)
OKLCHoklch(62.3% 0.125 112.2)
XYZxyz(20.3086, 24.7922, 5.3843)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E24 #29248E
analogous
#8E5E24 #898E24 #548E24
triadic
#898E24 #24898E #8E2489
tetradic
#898E24 #248E5E #29248E #8E2454
square
#898E24 #248E5E #29248E #8E2454
split-complementary
#898E24 #24548E #5E248E
monochromatic
#2B2C0B #5A5D18 #898E24 #B8BF30 #CFD558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E24#FFFFFF#000000##000000
##898E241.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)
#99870E
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e24;
/* rgb */ color: rgb(137, 142, 36);
/* oklch */ color: oklch(62.3% 0.125 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae67',
    500: '#898e24',
    950: '#000000',
  },
}
SCSS
$custom: #898e24;
$custom-light: #afae67;
$custom-dark: #000000;
JSON
{
  "hex": "#898e24",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 62.83,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.623,
    "c": 0.12458,
    "h": 112.2
  },
  "luminance": 0.24792
}

Semantic roles & 50–950 ramp

primary
#898E24
secondary
#5A55B9
accent
#45E34D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E24

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

Preview Lab → · Contrast checker → · Palette generator →

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