#98A225#98A225

#98A225 is a light, vivid yellow. Relative luminance 0.327; 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#98A225
RGBrgb(152, 162, 37)
HSLhsl(65, 63%, 39%)
HSVhsv(65, 77%, 64%)
CMYKcmyk(6.2%, 0%, 77.2%, 36.5%)
CIE-LABlab(63.88, -18.87, 58.87)
CIE-LCHlch(63.88, 61.82, 107.78°)
OKLaboklab(68.21% -0.0581 0.129)
OKLCHoklch(68.21% 0.142 114.2)
XYZxyz(26.2039, 32.6501, 6.6716)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A225 #2F25A2
analogous
#A26E25 #98A225 #5AA225
triadic
#98A225 #2598A2 #A22598
tetradic
#98A225 #25A26E #2F25A2 #A2255A
square
#98A225 #25A26E #2F25A2 #A2255A
split-complementary
#98A225 #255AA2 #6E25A2
monochromatic
#3B3E0E #69701A #98A225 #C4D134 #D2DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A225#FFFFFF#000000##000000
##98A2251.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)
#AE9A03
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#A2988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a225;
/* rgb */ color: rgb(152, 162, 37);
/* oklch */ color: oklch(68.2% 0.142 114.2);
Tailwind
colors: {
  custom: {
    50: '#babd6a',
    500: '#98a225',
    950: '#000000',
  },
}
SCSS
$custom: #98a225;
$custom-light: #babd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a225",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 64.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68213,
    "c": 0.14151,
    "h": 114.2
  },
  "luminance": 0.3265
}

Semantic roles & 50–950 ramp

primary
#98A225
secondary
#6961C2
accent
#42E64F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A225

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

Preview Lab → · Contrast checker → · Palette generator →

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