#98A91F#98A91F

#98A91F is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.152 H 116.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98A91F
RGBrgb(152, 169, 31)
HSLhsl(67, 69%, 39%)
HSVhsv(67, 82%, 66%)
CMYKcmyk(10.1%, 0%, 81.7%, 33.7%)
CIE-LABlab(65.87, -22.63, 62.43)
CIE-LCHlch(65.87, 66.41, 109.93°)
OKLaboklab(69.8% -0.0689 0.1356)
OKLCHoklch(69.8% 0.152 116.9)
XYZxyz(27.3849, 35.1506, 6.6382)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A91F #301FA9
analogous
#A9751F #98A91F #53A91F
triadic
#98A91F #1F98A9 #A91F98
tetradic
#98A91F #1FA975 #301FA9 #A91F53
square
#98A91F #1FA975 #301FA9 #A91F53
split-complementary
#98A91F #1F53A9 #751FA9
monochromatic
#3B420C #697516 #98A91F #C3D82D #D2E260

Accessibility & contrast

On white

2.62
#98A91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#98A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A91F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A91F#FFFFFF#000000##000000
##98A91F1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#A29F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a91f;
/* rgb */ color: rgb(152, 169, 31);
/* oklch */ color: oklch(69.8% 0.152 116.9);
Tailwind
colors: {
  custom: {
    50: '#bac269',
    500: '#98a91f',
    950: '#000000',
  },
}
SCSS
$custom: #98a91f;
$custom-light: #bac269;
$custom-dark: #000000;
JSON
{
  "hex": "#98a91f",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 67.391,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.15207,
    "h": 116.9
  },
  "luminance": 0.3515
}

Semantic roles & 50–950 ramp

primary
#98A91F
secondary
#6A5DC7
accent
#3CEC52
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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