#98A927#98A927

#98A927 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.148 H 117.1°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#98A927
RGBrgb(152, 169, 39)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 77%, 66%)
CMYKcmyk(10.1%, 0%, 76.9%, 33.7%)
CIE-LABlab(65.90, -22.31, 60.10)
CIE-LCHlch(65.90, 64.10, 110.37°)
OKLaboklab(69.84% -0.0674 0.132)
OKLCHoklch(69.84% 0.148 117.1)
XYZxyz(27.5038, 35.1982, 7.2641)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A927 #3827A9
analogous
#A97927 #98A927 #57A927
triadic
#98A927 #2798A9 #A92798
tetradic
#98A927 #27A979 #3827A9 #A92757
square
#98A927 #27A979 #3827A9 #A92757
split-complementary
#98A927 #2757A9 #7927A9
monochromatic
#3F4610 #6B771C #98A927 #BED23B #CFDD6D

Accessibility & contrast

On white

2.61
#98A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#98A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A927
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A927#FFFFFF#000000##000000
##98A9271.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#A29F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a927;
/* rgb */ color: rgb(152, 169, 39);
/* oklch */ color: oklch(69.8% 0.148 117.1);
Tailwind
colors: {
  custom: {
    50: '#bac26c',
    500: '#98a927',
    950: '#000000',
  },
}
SCSS
$custom: #98a927;
$custom-light: #bac26c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a927",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 67.846,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69843,
    "c": 0.14821,
    "h": 117.1
  },
  "luminance": 0.35198
}

Semantic roles & 50–950 ramp

primary
#98A927
secondary
#7468C4
accent
#42E658
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A927

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

Preview Lab → · Contrast checker → · Palette generator →

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