#98A527#98A527

#98A527 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.144 H 115.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#98A527
RGBrgb(152, 165, 39)
HSLhsl(66, 62%, 40%)
HSVhsv(66, 76%, 65%)
CMYKcmyk(7.9%, 0%, 76.4%, 35.3%)
CIE-LABlab(64.75, -20.31, 59.03)
CIE-LCHlch(64.75, 62.42, 108.98°)
OKLaboklab(68.92% -0.0619 0.1297)
OKLCHoklch(68.92% 0.144 115.5)
XYZxyz(26.7710, 33.7326, 7.0198)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A527 #3427A5
analogous
#A57327 #98A527 #59A527
triadic
#98A527 #2798A5 #A52798
tetradic
#98A527 #27A573 #3427A5 #A52759
square
#98A527 #27A573 #3427A5 #A52759
split-complementary
#98A527 #2759A5 #7327A5
monochromatic
#3D4210 #6A741B #98A527 #C1D039 #D0DC6A

Accessibility & contrast

On white

2.71
#98A527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#98A527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A527
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A527#FFFFFF#000000##000000
##98A5271.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C07
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A29B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a527;
/* rgb */ color: rgb(152, 165, 39);
/* oklch */ color: oklch(68.9% 0.144 115.5);
Tailwind
colors: {
  custom: {
    50: '#babf6c',
    500: '#98a527',
    950: '#000000',
  },
}
SCSS
$custom: #98a527;
$custom-light: #babf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a527",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 66.19,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.14373,
    "h": 115.5
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#98A527
secondary
#6F66C2
accent
#43E554
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A527

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

Preview Lab → · Contrast checker → · Palette generator →

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