#98AA2B#98AA2B

#98AA2B is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.147 H 117.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#98AA2B
RGBrgb(152, 170, 43)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(10.6%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.21, -22.63, 59.06)
CIE-LCHlch(66.21, 63.25, 110.96°)
OKLaboklab(70.1% -0.068 0.1305)
OKLCHoklch(70.1% 0.147 117.5)
XYZxyz(27.7603, 35.5996, 7.6940)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA2B #3D2BAA
analogous
#AA7D2B #98AA2B #59AA2B
triadic
#98AA2B #2B98AA #AA2B98
tetradic
#98AA2B #2BAA7D #3D2BAA #AA2B59
square
#98AA2B #2BAA7D #3D2BAA #AA2B59
split-complementary
#98AA2B #2B59AA #7D2BAA
monochromatic
#414812 #6C791F #98AA2B #BBCF43 #CDDC74

Accessibility & contrast

On white

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

On black

8.12
#98AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA2B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA2B#FFFFFF#000000##000000
##98AA2B1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10F
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#A2A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa2b;
/* rgb */ color: rgb(152, 170, 43);
/* oklch */ color: oklch(70.1% 0.147 117.5);
Tailwind
colors: {
  custom: {
    50: '#bac36e',
    500: '#98aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #98aa2b;
$custom-light: #bac36e;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa2b",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 68.504,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70099,
    "c": 0.14714,
    "h": 117.5
  },
  "luminance": 0.35599
}

Semantic roles & 50–950 ramp

primary
#98AA2B
secondary
#7A6EC3
accent
#45E35B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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