#98AA23#98AA23

#98AA23 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.151 H 117.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#98AA23
RGBrgb(152, 170, 35)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 79%, 67%)
CMYKcmyk(10.6%, 0%, 79.4%, 33.3%)
CIE-LABlab(66.17, -22.98, 61.57)
CIE-LCHlch(66.17, 65.72, 110.46°)
OKLaboklab(70.05% -0.0696 0.1344)
OKLCHoklch(70.05% 0.151 117.4)
XYZxyz(27.6277, 35.5465, 6.9955)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA23 #3523AA
analogous
#AA7823 #98AA23 #54AA23
triadic
#98AA23 #2398AA #AA2398
tetradic
#98AA23 #23AA78 #3523AA #AA2354
square
#98AA23 #23AA78 #3523AA #AA2354
split-complementary
#98AA23 #2354AA #7823AA
monochromatic
#3D440E #6B7719 #98AA23 #C0D535 #D0E068

Accessibility & contrast

On white

2.59
#98AA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#98AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA23
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA23#FFFFFF#000000##000000
##98AA231.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A230
Tritanopia (blue-blind)
#A2A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa23;
/* rgb */ color: rgb(152, 170, 35);
/* oklch */ color: oklch(70.1% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#bac36b',
    500: '#98aa23',
    950: '#000000',
  },
}
SCSS
$custom: #98aa23;
$custom-light: #bac36b;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa23",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 68,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.15137,
    "h": 117.4
  },
  "luminance": 0.35546
}

Semantic roles & 50–950 ramp

primary
#98AA23
secondary
#7063C6
accent
#3FE956
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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