#98A92F#98A92F

#98A92F is a light, vivid yellow. Relative luminance 0.353; OKLCH L 69.9% C 0.144 H 117.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#98A92F
RGBrgb(152, 169, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 66%)
CMYKcmyk(10.1%, 0%, 72.2%, 33.7%)
CIE-LABlab(65.95, -21.92, 57.39)
CIE-LCHlch(65.95, 61.44, 110.91°)
OKLaboklab(69.89% -0.0657 0.1277)
OKLCHoklch(69.89% 0.144 117.2)
XYZxyz(27.6506, 35.2569, 8.0374)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A92F #402FA9
analogous
#A97D2F #98A92F #5BA92F
triadic
#98A92F #2F98A9 #A92F98
tetradic
#98A92F #2FA97D #402FA9 #A92F5B
square
#98A92F #2FA97D #402FA9 #A92F5B
split-complementary
#98A92F #2F5BA9 #7D2FA9
monochromatic
#424914 #6D7922 #98A92F #BACC49 #CCDA79

Accessibility & contrast

On white

2.61
#98A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#98A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A92F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A92F#FFFFFF#000000##000000
##98A92F1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a92f;
/* rgb */ color: rgb(152, 169, 47);
/* oklch */ color: oklch(69.9% 0.144 117.2);
Tailwind
colors: {
  custom: {
    50: '#b9c270',
    500: '#98a92f',
    950: '#000000',
  },
}
SCSS
$custom: #98a92f;
$custom-light: #b9c270;
$custom-dark: #000000;
JSON
{
  "hex": "#98a92f",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 68.361,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69894,
    "c": 0.14356,
    "h": 117.2
  },
  "luminance": 0.35257
}

Semantic roles & 50–950 ramp

primary
#98A92F
secondary
#7D72C2
accent
#48E05D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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