#98A923#98A923

#98A923 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.150 H 117.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98A923
RGBrgb(152, 169, 35)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 79%, 66%)
CMYKcmyk(10.1%, 0%, 79.3%, 33.7%)
CIE-LABlab(65.88, -22.48, 61.31)
CIE-LCHlch(65.88, 65.30, 110.14°)
OKLaboklab(69.82% -0.0682 0.1339)
OKLCHoklch(69.82% 0.15 117)
XYZxyz(27.4410, 35.1730, 6.9333)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A923 #3423A9
analogous
#A97723 #98A923 #55A923
triadic
#98A923 #2398A9 #A92398
tetradic
#98A923 #23A977 #3423A9 #A92355
square
#98A923 #23A977 #3423A9 #A92355
split-complementary
#98A923 #2355A9 #7723A9
monochromatic
#3D440E #6A7619 #98A923 #C1D534 #D0DF67

Accessibility & contrast

On white

2.61
#98A923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#98A923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A923
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A923#FFFFFF#000000##000000
##98A9231.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#A29F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a923;
/* rgb */ color: rgb(152, 169, 35);
/* oklch */ color: oklch(69.8% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#bac26a',
    500: '#98a923',
    950: '#000000',
  },
}
SCSS
$custom: #98a923;
$custom-light: #bac26a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a923",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 67.612,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.15024,
    "h": 117
  },
  "luminance": 0.35173
}

Semantic roles & 50–950 ramp

primary
#98A923
secondary
#6F63C5
accent
#3FE955
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A923

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

Preview Lab → · Contrast checker → · Palette generator →

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