#98AA1B#98AA1B

#98AA1B is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.0% C 0.155 H 117.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#98AA1B
RGBrgb(152, 170, 27)
HSLhsl(68, 73%, 39%)
HSVhsv(68, 84%, 67%)
CMYKcmyk(10.6%, 0%, 84.1%, 33.3%)
CIE-LABlab(66.14, -23.26, 63.70)
CIE-LCHlch(66.14, 67.81, 110.06°)
OKLaboklab(70.02% -0.0709 0.1376)
OKLCHoklch(70.02% 0.155 117.3)
XYZxyz(27.5222, 35.5043, 6.4399)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA1B #2D1BAA
analogous
#AA741B #98AA1B #51AA1B
triadic
#98AA1B #1B98AA #AA1B98
tetradic
#98AA1B #1BAA74 #2D1BAA #AA1B51
square
#98AA1B #1BAA74 #2D1BAA #AA1B51
split-complementary
#98AA1B #1B51AA #741BAA
monochromatic
#3A400A #697513 #98AA1B #C5DC26 #D3E55B

Accessibility & contrast

On white

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

On black

8.10
#98AA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA1B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA1B#FFFFFF#000000##000000
##98AA1B1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98aa1b;
/* rgb */ color: rgb(152, 170, 27);
/* oklch */ color: oklch(70.0% 0.155 117.3);
Tailwind
colors: {
  custom: {
    50: '#bac367',
    500: '#98aa1b',
    950: '#000000',
  },
}
SCSS
$custom: #98aa1b;
$custom-light: #bac367;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa1b",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 67.552,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70017,
    "c": 0.1548,
    "h": 117.3
  },
  "luminance": 0.35504
}

Semantic roles & 50–950 ramp

primary
#98AA1B
secondary
#6658C9
accent
#39EF50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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