#98A331#98A331

#98A331 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.135 H 114.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#98A331
RGBrgb(152, 163, 49)
HSLhsl(66, 54%, 42%)
HSVhsv(66, 70%, 64%)
CMYKcmyk(6.7%, 0%, 69.9%, 36.1%)
CIE-LABlab(64.24, -18.78, 54.95)
CIE-LCHlch(64.24, 58.07, 108.87°)
OKLaboklab(68.52% -0.0567 0.1229)
OKLCHoklch(68.52% 0.135 114.8)
XYZxyz(26.6012, 33.0920, 7.8912)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A331 #3C31A3
analogous
#A37531 #98A331 #5FA331
triadic
#98A331 #3198A3 #A33198
tetradic
#98A331 #31A375 #3C31A3 #A3315F
square
#98A331 #31A375 #3C31A3 #A3315F
split-complementary
#98A331 #315FA3 #7531A3
monochromatic
#404515 #6C7423 #98A331 #BCC849 #CDD678

Accessibility & contrast

On white

2.76
#98A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#98A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A331
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A331#FFFFFF#000000##000000
##98A3311.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a331;
/* rgb */ color: rgb(152, 163, 49);
/* oklch */ color: oklch(68.5% 0.135 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be70',
    500: '#98a331',
    950: '#000000',
  },
}
SCSS
$custom: #98a331;
$custom-light: #b9be70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a331",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 65.789,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68523,
    "c": 0.13534,
    "h": 114.8
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#98A331
secondary
#7971BF
accent
#4BDD59
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A331

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

Preview Lab → · Contrast checker → · Palette generator →

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