#98A823#98A823

#98A823 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.149 H 116.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#98A823
RGBrgb(152, 168, 35)
HSLhsl(67, 66%, 40%)
HSVhsv(67, 79%, 66%)
CMYKcmyk(9.5%, 0%, 79.2%, 34.1%)
CIE-LABlab(65.59, -21.98, 61.05)
CIE-LCHlch(65.59, 64.89, 109.80°)
OKLaboklab(69.59% -0.0669 0.1333)
OKLCHoklch(69.59% 0.149 116.6)
XYZxyz(27.2556, 34.8024, 6.8715)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A823 #3323A8
analogous
#A87623 #98A823 #56A823
triadic
#98A823 #2398A8 #A82398
tetradic
#98A823 #23A876 #3323A8 #A82356
square
#98A823 #23A876 #3323A8 #A82356
split-complementary
#98A823 #2356A8 #7623A8
monochromatic
#3C430E #6A7518 #98A823 #C1D534 #D1DF66

Accessibility & contrast

On white

2.64
#98A823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#98A823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A823
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A823#FFFFFF#000000##000000
##98A8231.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A030
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a823;
/* rgb */ color: rgb(152, 168, 35);
/* oklch */ color: oklch(69.6% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#bac16a',
    500: '#98a823',
    950: '#000000',
  },
}
SCSS
$custom: #98a823;
$custom-light: #bac16a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a823",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 67.218,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.14913,
    "h": 116.6
  },
  "luminance": 0.34802
}

Semantic roles & 50–950 ramp

primary
#98A823
secondary
#6E62C5
accent
#3FE854
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A823

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

Preview Lab → · Contrast checker → · Palette generator →

#98A823 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva