#98A327#98A327

#98A327 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.142 H 114.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#98A327
RGBrgb(152, 163, 39)
HSLhsl(65, 61%, 40%)
HSVhsv(65, 76%, 64%)
CMYKcmyk(6.7%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.17, -19.29, 58.49)
CIE-LCHlch(64.17, 61.59, 108.26°)
OKLaboklab(68.46% -0.0591 0.1286)
OKLCHoklch(68.46% 0.142 114.7)
XYZxyz(26.4131, 33.0168, 6.9005)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A327 #3227A3
analogous
#A37027 #98A327 #5AA327
triadic
#98A327 #2798A3 #A32798
tetradic
#98A327 #27A370 #3227A3 #A3275A
square
#98A327 #27A370 #3227A3 #A3275A
split-complementary
#98A327 #275AA3 #7027A3
monochromatic
#3C400F #6A721B #98A327 #C2CF38 #D1DB69

Accessibility & contrast

On white

2.76
#98A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#98A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A327
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A327#FFFFFF#000000##000000
##98A3271.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B08
Deuteranopia (green-blind)
#AE9D32
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a327;
/* rgb */ color: rgb(152, 163, 39);
/* oklch */ color: oklch(68.5% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#babe6b',
    500: '#98a327',
    950: '#000000',
  },
}
SCSS
$custom: #98a327;
$custom-light: #babe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a327",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 65.323,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68455,
    "c": 0.14152,
    "h": 114.7
  },
  "luminance": 0.33016
}

Semantic roles & 50–950 ramp

primary
#98A327
secondary
#6D64C1
accent
#43E452
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A327

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

Preview Lab → · Contrast checker → · Palette generator →

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