#98AD2C#98AD2C

#98AD2C is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.150 H 118.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#98AD2C
RGBrgb(152, 173, 44)
HSLhsl(70, 59%, 43%)
HSVhsv(70, 75%, 68%)
CMYKcmyk(12.1%, 0%, 74.6%, 32.2%)
CIE-LABlab(67.08, -24.06, 59.55)
CIE-LCHlch(67.08, 64.23, 112.00°)
OKLaboklab(70.8% -0.0718 0.1317)
OKLCHoklch(70.8% 0.15 118.6)
XYZxyz(28.3477, 36.7446, 7.9814)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD2C #412CAD
analogous
#AD812C #98AD2C #58AD2C
triadic
#98AD2C #2C98AD #AD2C98
tetradic
#98AD2C #2CAD81 #412CAD #AD2C58
square
#98AD2C #2CAD81 #412CAD #AD2C58
split-complementary
#98AD2C #2C58AD #812CAD
monochromatic
#424B13 #6D7C20 #98AD2C #BAD046 #CCDC77

Accessibility & contrast

On white

2.52
#98AD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#98AD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD2C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD2C#FFFFFF#000000##000000
##98AD2C1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A310
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad2c;
/* rgb */ color: rgb(152, 173, 44);
/* oklch */ color: oklch(70.8% 0.150 118.6);
Tailwind
colors: {
  custom: {
    50: '#bac56f',
    500: '#98ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #98ad2c;
$custom-light: #bac56f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad2c",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 69.767,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.15002,
    "h": 118.6
  },
  "luminance": 0.36744
}

Semantic roles & 50–950 ramp

primary
#98AD2C
secondary
#7E71C4
accent
#45E35F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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