#98A82C#98A82C

#98A82C is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.6% C 0.144 H 116.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#98A82C
RGBrgb(152, 168, 44)
HSLhsl(68, 58%, 42%)
HSVhsv(68, 74%, 66%)
CMYKcmyk(9.5%, 0%, 73.8%, 34.1%)
CIE-LABlab(65.64, -21.58, 58.17)
CIE-LCHlch(65.64, 62.04, 110.35°)
OKLaboklab(69.64% -0.065 0.1288)
OKLCHoklch(69.64% 0.144 116.8)
XYZxyz(27.4068, 34.8629, 7.6678)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A82C #3C2CA8
analogous
#A87A2C #98A82C #5AA82C
triadic
#98A82C #2C98A8 #A82C98
tetradic
#98A82C #2CA87A #3C2CA8 #A82C5A
square
#98A82C #2CA87A #3C2CA8 #A82C5A
split-complementary
#98A82C #2C5AA8 #7A2CA8
monochromatic
#404713 #6C781F #98A82C #BCCE43 #CDDB74

Accessibility & contrast

On white

2.63
#98A82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#98A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A82C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A82C#FFFFFF#000000##000000
##98A82C1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F13
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a82c;
/* rgb */ color: rgb(152, 168, 44);
/* oklch */ color: oklch(69.6% 0.144 116.8);
Tailwind
colors: {
  custom: {
    50: '#bac16e',
    500: '#98a82c',
    950: '#000000',
  },
}
SCSS
$custom: #98a82c;
$custom-light: #bac16e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a82c",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 67.742,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.14425,
    "h": 116.8
  },
  "luminance": 0.34863
}

Semantic roles & 50–950 ramp

primary
#98A82C
secondary
#796EC2
accent
#46E25A
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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