#98AB2B#98AB2B

#98AB2B is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.3% C 0.148 H 117.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#98AB2B
RGBrgb(152, 171, 43)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.1%, 0%, 74.9%, 32.9%)
CIE-LABlab(66.50, -23.12, 59.33)
CIE-LCHlch(66.50, 63.68, 111.29°)
OKLaboklab(70.33% -0.0693 0.1311)
OKLCHoklch(70.33% 0.148 117.9)
XYZxyz(27.9485, 35.9759, 7.7567)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB2B #3E2BAB
analogous
#AB7E2B #98AB2B #58AB2B
triadic
#98AB2B #2B98AB #AB2B98
tetradic
#98AB2B #2BAB7E #3E2BAB #AB2B58
square
#98AB2B #2BAB7E #3E2BAB #AB2B58
split-complementary
#98AB2B #2B58AB #7E2BAB
monochromatic
#414912 #6D7A1F #98AB2B #BBD043 #CDDC74

Accessibility & contrast

On white

2.56
#98AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#98AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB2B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB2B#FFFFFF#000000##000000
##98AB2B1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10F
Deuteranopia (green-blind)
#B5A236
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab2b;
/* rgb */ color: rgb(152, 171, 43);
/* oklch */ color: oklch(70.3% 0.148 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac46e',
    500: '#98ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #98ab2b;
$custom-light: #bac46e;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab2b",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 68.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.14828,
    "h": 117.9
  },
  "luminance": 0.35976
}

Semantic roles & 50–950 ramp

primary
#98AB2B
secondary
#7B6EC4
accent
#45E35C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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