#98A031#98A031

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

Color values

HEX#98A031
RGBrgb(152, 160, 49)
HSLhsl(64, 53%, 41%)
HSVhsv(64, 69%, 63%)
CMYKcmyk(5%, 0%, 69.4%, 37.3%)
CIE-LABlab(63.38, -17.25, 54.09)
CIE-LCHlch(63.38, 56.77, 107.69°)
OKLaboklab(67.83% -0.0525 0.1211)
OKLCHoklch(67.83% 0.132 113.4)
XYZxyz(26.0748, 32.0393, 7.7158)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A031 #3931A0
analogous
#A07031 #98A031 #60A031
triadic
#98A031 #3198A0 #A03198
tetradic
#98A031 #31A070 #3931A0 #A03160
square
#98A031 #31A070 #3931A0 #A03160
split-complementary
#98A031 #3160A0 #7031A0
monochromatic
#3F4214 #6B7123 #98A031 #BEC747 #CED576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A031#FFFFFF#000000##000000
##98A0311.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)
#AC9820
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#A2968A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a031;
/* rgb */ color: rgb(152, 160, 49);
/* oklch */ color: oklch(67.8% 0.132 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb70',
    500: '#98a031',
    950: '#000000',
  },
}
SCSS
$custom: #98a031;
$custom-light: #b9bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a031",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 64.324,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.13194,
    "h": 113.4
  },
  "luminance": 0.32039
}

Semantic roles & 50–950 ramp

primary
#98A031
secondary
#7570BD
accent
#4BDD56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #98A031

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

Preview Lab → · Contrast checker → · Palette generator →

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