#98A125#98A125

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

Color values

HEX#98A125
RGBrgb(152, 161, 37)
HSLhsl(64, 63%, 39%)
HSVhsv(64, 77%, 63%)
CMYKcmyk(5.6%, 0%, 77%, 36.9%)
CIE-LABlab(63.59, -18.36, 58.61)
CIE-LCHlch(63.59, 61.42, 107.40°)
OKLaboklab(67.98% -0.0567 0.1285)
OKLCHoklch(67.98% 0.14 113.8)
XYZxyz(26.0285, 32.2992, 6.6132)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A125 #2E25A1
analogous
#A16C25 #98A125 #5AA125
triadic
#98A125 #2598A1 #A12598
tetradic
#98A125 #25A16C #2E25A1 #A1255A
square
#98A125 #25A16C #2E25A1 #A1255A
split-complementary
#98A125 #255AA1 #6C25A1
monochromatic
#3A3D0E #696F1A #98A125 #C5D033 #D3DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A125#FFFFFF#000000##000000
##98A1251.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)
#AD9904
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a125;
/* rgb */ color: rgb(152, 161, 37);
/* oklch */ color: oklch(68.0% 0.140 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6a',
    500: '#98a125',
    950: '#000000',
  },
}
SCSS
$custom: #98a125;
$custom-light: #babc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a125",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 64.355,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67983,
    "c": 0.14042,
    "h": 113.8
  },
  "luminance": 0.32299
}

Semantic roles & 50–950 ramp

primary
#98A125
secondary
#6861C1
accent
#42E64E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A125

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

Preview Lab → · Contrast checker → · Palette generator →

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