#98A122#98A122

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

Color values

HEX#98A122
RGBrgb(152, 161, 34)
HSLhsl(64, 65%, 38%)
HSVhsv(64, 79%, 63%)
CMYKcmyk(5.6%, 0%, 78.9%, 36.9%)
CIE-LABlab(63.57, -18.49, 59.54)
CIE-LCHlch(63.57, 62.34, 107.25°)
OKLaboklab(67.97% -0.0573 0.1299)
OKLCHoklch(67.97% 0.142 113.8)
XYZxyz(25.9833, 32.2812, 6.3752)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A122 #2B22A1
analogous
#A16A22 #98A122 #58A122
triadic
#98A122 #2298A1 #A12298
tetradic
#98A122 #22A16A #2B22A1 #A12258
square
#98A122 #22A16A #2B22A1 #A12258
split-complementary
#98A122 #2258A1 #6A22A1
monochromatic
#393C0D #686E17 #98A122 #C7D32D #D5DD60

Accessibility & contrast

On white

2.82
#98A122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A122#FFFFFF#000000##000000
##98A1221.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#A3978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a122;
/* rgb */ color: rgb(152, 161, 34);
/* oklch */ color: oklch(68.0% 0.142 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc69',
    500: '#98a122',
    950: '#000000',
  },
}
SCSS
$custom: #98a122;
$custom-light: #babc69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a122",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 64.252,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67966,
    "c": 0.14197,
    "h": 113.8
  },
  "luminance": 0.32281
}

Semantic roles & 50–950 ramp

primary
#98A122
secondary
#645DC2
accent
#40E84C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A122

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

Preview Lab → · Contrast checker → · Palette generator →

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