#98A827#98A827

#98A827 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.147 H 116.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#98A827
RGBrgb(152, 168, 39)
HSLhsl(67, 62%, 41%)
HSVhsv(67, 77%, 66%)
CMYKcmyk(9.5%, 0%, 76.8%, 34.1%)
CIE-LABlab(65.61, -21.81, 59.83)
CIE-LCHlch(65.61, 63.68, 110.03°)
OKLaboklab(69.61% -0.0661 0.1314)
OKLCHoklch(69.61% 0.147 116.7)
XYZxyz(27.3184, 34.8275, 7.2023)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A827 #3727A8
analogous
#A87727 #98A827 #57A827
triadic
#98A827 #2798A8 #A82798
tetradic
#98A827 #27A877 #3727A8 #A82757
square
#98A827 #27A877 #3727A8 #A82757
split-complementary
#98A827 #2757A8 #7727A8
monochromatic
#3E4510 #6B761B #98A827 #BFD13B #CFDD6C

Accessibility & contrast

On white

2.64
#98A827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#98A827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A827
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A827#FFFFFF#000000##000000
##98A8271.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F04
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a827;
/* rgb */ color: rgb(152, 168, 39);
/* oklch */ color: oklch(69.6% 0.147 116.7);
Tailwind
colors: {
  custom: {
    50: '#bac16c',
    500: '#98a827',
    950: '#000000',
  },
}
SCSS
$custom: #98a827;
$custom-light: #bac16c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a827",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 67.442,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.14709,
    "h": 116.7
  },
  "luminance": 0.34827
}

Semantic roles & 50–950 ramp

primary
#98A827
secondary
#7367C3
accent
#42E557
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A827

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

Preview Lab → · Contrast checker → · Palette generator →

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