#98A032#98A032

#98A032 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.131 H 113.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#98A032
RGBrgb(152, 160, 50)
HSLhsl(64, 52%, 41%)
HSVhsv(64, 69%, 63%)
CMYKcmyk(5%, 0%, 68.8%, 37.3%)
CIE-LABlab(63.38, -17.19, 53.70)
CIE-LCHlch(63.38, 56.39, 107.75°)
OKLaboklab(67.84% -0.0522 0.1204)
OKLCHoklch(67.84% 0.131 113.4)
XYZxyz(26.0962, 32.0478, 7.8281)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A032 #3A32A0
analogous
#A07132 #98A032 #61A032
triadic
#98A032 #3298A0 #A03298
tetradic
#98A032 #32A071 #3A32A0 #A03261
square
#98A032 #32A071 #3A32A0 #A03261
split-complementary
#98A032 #3261A0 #7132A0
monochromatic
#3F4315 #6C7123 #98A032 #BDC649 #CED578

Accessibility & contrast

On white

2.83
#98A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#98A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A032
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A032#FFFFFF#000000##000000
##98A0321.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9821
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a032;
/* rgb */ color: rgb(152, 160, 50);
/* oklch */ color: oklch(67.8% 0.131 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb71',
    500: '#98a032',
    950: '#000000',
  },
}
SCSS
$custom: #98a032;
$custom-light: #b9bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#98a032",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 64.364,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67842,
    "c": 0.13124,
    "h": 113.4
  },
  "luminance": 0.32047
}

Semantic roles & 50–950 ramp

primary
#98A032
secondary
#7671BD
accent
#4CDC56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #98A032

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

Preview Lab → · Contrast checker → · Palette generator →

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