#898E23#898E23

#898E23 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#898E23
RGBrgb(137, 142, 35)
HSLhsl(63, 60%, 35%)
HSVhsv(63, 75%, 56%)
CMYKcmyk(3.5%, 0%, 75.4%, 44.3%)
CIE-LABlab(56.87, -15.24, 52.58)
CIE-LCHlch(56.87, 54.75, 106.16°)
OKLaboklab(62.29% -0.0474 0.1159)
OKLCHoklch(62.29% 0.125 112.2)
XYZxyz(20.2936, 24.7862, 5.3050)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E23 #28238E
analogous
#8E5E23 #898E23 #538E23
triadic
#898E23 #23898E #8E2389
tetradic
#898E23 #238E5E #28238E #8E2353
square
#898E23 #238E5E #28238E #8E2353
split-complementary
#898E23 #23538E #5E238E
monochromatic
#2A2C0B #5A5D17 #898E23 #B8BF2F #CFD556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E23#FFFFFF#000000##000000
##898E231.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e23;
/* rgb */ color: rgb(137, 142, 35);
/* oklch */ color: oklch(62.3% 0.125 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae67',
    500: '#898e23',
    950: '#000000',
  },
}
SCSS
$custom: #898e23;
$custom-light: #afae67;
$custom-dark: #000000;
JSON
{
  "hex": "#898e23",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 62.804,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62293,
    "c": 0.12518,
    "h": 112.2
  },
  "luminance": 0.24786
}

Semantic roles & 50–950 ramp

primary
#898E23
secondary
#5853B9
accent
#44E44C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E23

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

Preview Lab → · Contrast checker → · Palette generator →

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