#98A320#98A320

#98A320 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.4% C 0.145 H 114.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#98A320
RGBrgb(152, 163, 32)
HSLhsl(65, 67%, 38%)
HSVhsv(65, 80%, 64%)
CMYKcmyk(6.7%, 0%, 80.4%, 36.1%)
CIE-LABlab(64.14, -19.58, 60.63)
CIE-LCHlch(64.14, 63.72, 107.90°)
OKLaboklab(68.42% -0.0605 0.1319)
OKLCHoklch(68.42% 0.145 114.6)
XYZxyz(26.3076, 32.9746, 6.3451)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A320 #2B20A3
analogous
#A36C20 #98A320 #56A320
triadic
#98A320 #2098A3 #A32098
tetradic
#98A320 #20A36C #2B20A3 #A32056
square
#98A320 #20A36C #2B20A3 #A32056
split-complementary
#98A320 #2056A3 #6C20A3
monochromatic
#393D0C #687016 #98A320 #C7D52B #D5DF5E

Accessibility & contrast

On white

2.77
#98A320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#98A320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A320
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A320#FFFFFF#000000##000000
##98A3201.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#A2998B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a320;
/* rgb */ color: rgb(152, 163, 32);
/* oklch */ color: oklch(68.4% 0.145 114.6);
Tailwind
colors: {
  custom: {
    50: '#babe68',
    500: '#98a320',
    950: '#000000',
  },
}
SCSS
$custom: #98a320;
$custom-light: #babe68;
$custom-dark: #000000;
JSON
{
  "hex": "#98a320",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 32
  },
  "hsl": {
    "h": 65.038,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.14508,
    "h": 114.6
  },
  "luminance": 0.32974
}

Semantic roles & 50–950 ramp

primary
#98A320
secondary
#645BC4
accent
#3EEA4C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A320

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

Preview Lab → · Contrast checker → · Palette generator →

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