#98AB2C#98AB2C

#98AB2C 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#98AB2C
RGBrgb(152, 171, 44)
HSLhsl(69, 59%, 42%)
HSVhsv(69, 74%, 67%)
CMYKcmyk(11.1%, 0%, 74.3%, 32.9%)
CIE-LABlab(66.51, -23.07, 59.00)
CIE-LCHlch(66.51, 63.35, 111.36°)
OKLaboklab(70.34% -0.0691 0.1305)
OKLCHoklch(70.34% 0.148 117.9)
XYZxyz(27.9671, 35.9833, 7.8546)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB2C #3F2CAB
analogous
#AB7E2C #98AB2C #59AB2C
triadic
#98AB2C #2C98AB #AB2C98
tetradic
#98AB2C #2CAB7E #3F2CAB #AB2C59
square
#98AB2C #2CAB7E #3F2CAB #AB2C59
split-complementary
#98AB2C #2C59AB #7E2CAB
monochromatic
#414A13 #6D7A1F #98AB2C #BACF45 #CCDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AB2C#FFFFFF#000000##000000
##98AB2C1.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)
#B7A111
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#A1A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab2c;
/* rgb */ color: rgb(152, 171, 44);
/* oklch */ color: oklch(70.3% 0.148 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac46f',
    500: '#98ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #98ab2c;
$custom-light: #bac46f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab2c",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 68.976,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.14771,
    "h": 117.9
  },
  "luminance": 0.35983
}

Semantic roles & 50–950 ramp

primary
#98AB2C
secondary
#7C6FC3
accent
#46E25D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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