#98A224#98A224

#98A224 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.142 H 114.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#98A224
RGBrgb(152, 162, 36)
HSLhsl(65, 64%, 39%)
HSVhsv(65, 78%, 64%)
CMYKcmyk(6.2%, 0%, 77.8%, 36.5%)
CIE-LABlab(63.87, -18.92, 59.18)
CIE-LCHlch(63.87, 62.13, 107.72°)
OKLaboklab(68.21% -0.0583 0.1295)
OKLCHoklch(68.21% 0.142 114.2)
XYZxyz(26.1885, 32.6440, 6.5901)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A224 #2E24A2
analogous
#A26D24 #98A224 #59A224
triadic
#98A224 #2498A2 #A22498
tetradic
#98A224 #24A26D #2E24A2 #A22459
square
#98A224 #24A26D #2E24A2 #A22459
split-complementary
#98A224 #2459A2 #6D24A2
monochromatic
#3A3E0E #697019 #98A224 #C5D132 #D3DD64

Accessibility & contrast

On white

2.79
#98A224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#98A224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A224
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A224#FFFFFF#000000##000000
##98A2241.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a224;
/* rgb */ color: rgb(152, 162, 36);
/* oklch */ color: oklch(68.2% 0.142 114.2);
Tailwind
colors: {
  custom: {
    50: '#babd6a',
    500: '#98a224',
    950: '#000000',
  },
}
SCSS
$custom: #98a224;
$custom-light: #babd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a224",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 64.762,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.14203,
    "h": 114.2
  },
  "luminance": 0.32643
}

Semantic roles & 50–950 ramp

primary
#98A224
secondary
#6860C2
accent
#41E74E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A224

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

Preview Lab → · Contrast checker → · Palette generator →

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