#98A820#98A820

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

Color values

HEX#98A820
RGBrgb(152, 168, 32)
HSLhsl(67, 68%, 39%)
HSVhsv(67, 81%, 66%)
CMYKcmyk(9.5%, 0%, 81%, 34.1%)
CIE-LABlab(65.58, -22.10, 61.91)
CIE-LCHlch(65.58, 65.73, 109.64°)
OKLaboklab(69.57% -0.0674 0.1346)
OKLCHoklch(69.57% 0.151 116.6)
XYZxyz(27.2130, 34.7853, 6.6469)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A820 #3020A8
analogous
#A87420 #98A820 #54A820
triadic
#98A820 #2098A8 #A82098
tetradic
#98A820 #20A874 #3020A8 #A82054
square
#98A820 #20A874 #3020A8 #A82054
split-complementary
#98A820 #2054A8 #7420A8
monochromatic
#3B410C #697516 #98A820 #C3D72E #D2E161

Accessibility & contrast

On white

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

On black

7.96
#98A820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A820
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A820#FFFFFF#000000##000000
##98A8201.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#A29E8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a820;
/* rgb */ color: rgb(152, 168, 32);
/* oklch */ color: oklch(69.6% 0.151 116.6);
Tailwind
colors: {
  custom: {
    50: '#bac169',
    500: '#98a820',
    950: '#000000',
  },
}
SCSS
$custom: #98a820;
$custom-light: #bac169;
$custom-dark: #000000;
JSON
{
  "hex": "#98a820",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 67.059,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.15053,
    "h": 116.6
  },
  "luminance": 0.34785
}

Semantic roles & 50–950 ramp

primary
#98A820
secondary
#6A5EC6
accent
#3DEB51
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A820

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

Preview Lab → · Contrast checker → · Palette generator →

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