#98A025#98A025

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

Color values

HEX#98A025
RGBrgb(152, 160, 37)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 77%, 63%)
CMYKcmyk(5%, 0%, 76.9%, 37.3%)
CIE-LABlab(63.30, -17.85, 58.34)
CIE-LCHlch(63.30, 61.01, 107.01°)
OKLaboklab(67.75% -0.0553 0.1279)
OKLCHoklch(67.75% 0.139 113.4)
XYZxyz(25.8544, 31.9511, 6.5551)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A025 #2D25A0
analogous
#A06A25 #98A025 #5AA025
triadic
#98A025 #2598A0 #A02598
tetradic
#98A025 #25A06A #2D25A0 #A0255A
square
#98A025 #25A06A #2D25A0 #A0255A
split-complementary
#98A025 #255AA0 #6A25A0
monochromatic
#3A3D0E #696E1A #98A025 #C5D032 #D3DB64

Accessibility & contrast

On white

2.84
#98A025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#98A025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A025
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A025#FFFFFF#000000##000000
##98A0251.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9804
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a025;
/* rgb */ color: rgb(152, 160, 37);
/* oklch */ color: oklch(67.8% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb6a',
    500: '#98a025',
    950: '#000000',
  },
}
SCSS
$custom: #98a025;
$custom-light: #babb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a025",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 37
  },
  "hsl": {
    "h": 63.902,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67753,
    "c": 0.13934,
    "h": 113.4
  },
  "luminance": 0.31951
}

Semantic roles & 50–950 ramp

primary
#98A025
secondary
#6660C1
accent
#42E64D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98A025

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

Preview Lab → · Contrast checker → · Palette generator →

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