#98A129#98A129

#98A129 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.138 H 113.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#98A129
RGBrgb(152, 161, 41)
HSLhsl(65, 59%, 40%)
HSVhsv(65, 75%, 63%)
CMYKcmyk(5.6%, 0%, 74.5%, 36.9%)
CIE-LABlab(63.61, -18.18, 57.28)
CIE-LCHlch(63.61, 60.10, 107.61°)
OKLaboklab(68.01% -0.0558 0.1264)
OKLCHoklch(68.01% 0.138 113.8)
XYZxyz(26.0948, 32.3258, 6.9623)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A129 #3229A1
analogous
#A16E29 #98A129 #5CA129
triadic
#98A129 #2998A1 #A12998
tetradic
#98A129 #29A16E #3229A1 #A1295C
square
#98A129 #29A16E #3229A1 #A1295C
split-complementary
#98A129 #295CA1 #6E29A1
monochromatic
#3C3F10 #6A701D #98A129 #C2CD3A #D1D96B

Accessibility & contrast

On white

2.81
#98A129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#98A129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A129
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A129#FFFFFF#000000##000000
##98A1291.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990F
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a129;
/* rgb */ color: rgb(152, 161, 41);
/* oklch */ color: oklch(68.0% 0.138 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6c',
    500: '#98a129',
    950: '#000000',
  },
}
SCSS
$custom: #98a129;
$custom-light: #babc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a129",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 64.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68007,
    "c": 0.13818,
    "h": 113.8
  },
  "luminance": 0.32325
}

Semantic roles & 50–950 ramp

primary
#98A129
secondary
#6D66C0
accent
#45E351
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A129

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

Preview Lab → · Contrast checker → · Palette generator →

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