#98A333#98A333

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

Color values

HEX#98A333
RGBrgb(152, 163, 51)
HSLhsl(66, 52%, 42%)
HSVhsv(66, 69%, 64%)
CMYKcmyk(6.7%, 0%, 68.7%, 36.1%)
CIE-LABlab(64.25, -18.67, 54.18)
CIE-LCHlch(64.25, 57.31, 109.01°)
OKLaboklab(68.54% -0.0562 0.1216)
OKLCHoklch(68.54% 0.134 114.8)
XYZxyz(26.6443, 33.1093, 8.1185)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A333 #3E33A3
analogous
#A37633 #98A333 #60A333
triadic
#98A333 #3398A3 #A33398
tetradic
#98A333 #33A376 #3E33A3 #A33360
square
#98A333 #33A376 #3E33A3 #A33360
split-complementary
#98A333 #3360A3 #7633A3
monochromatic
#414616 #6D7424 #98A333 #BBC74C #CDD67B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A333#FFFFFF#000000##000000
##98A3331.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)
#AF9B22
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a333;
/* rgb */ color: rgb(152, 163, 51);
/* oklch */ color: oklch(68.5% 0.134 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be71',
    500: '#98a333',
    950: '#000000',
  },
}
SCSS
$custom: #98a333;
$custom-light: #b9be71;
$custom-dark: #000000;
JSON
{
  "hex": "#98a333",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 65.893,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68539,
    "c": 0.13395,
    "h": 114.8
  },
  "luminance": 0.33109
}

Semantic roles & 50–950 ramp

primary
#98A333
secondary
#7B73BE
accent
#4CDC5A
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A333

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

Preview Lab → · Contrast checker → · Palette generator →

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