#98A92C#98A92C

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

Color values

HEX#98A92C
RGBrgb(152, 169, 44)
HSLhsl(68, 59%, 42%)
HSVhsv(68, 74%, 66%)
CMYKcmyk(10.1%, 0%, 74%, 33.7%)
CIE-LABlab(65.93, -22.08, 58.45)
CIE-LCHlch(65.93, 62.48, 110.69°)
OKLaboklab(69.87% -0.0664 0.1294)
OKLCHoklch(69.87% 0.145 117.2)
XYZxyz(27.5921, 35.2335, 7.7296)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A92C #3D2CA9
analogous
#A97C2C #98A92C #5AA92C
triadic
#98A92C #2C98A9 #A92C98
tetradic
#98A92C #2CA97C #3D2CA9 #A92C5A
square
#98A92C #2CA97C #3D2CA9 #A92C5A
split-complementary
#98A92C #2C5AA9 #7C2CA9
monochromatic
#414813 #6C781F #98A92C #BBCE44 #CDDB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A92C#FFFFFF#000000##000000
##98A92C1.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)
#B5A012
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#A29F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a92c;
/* rgb */ color: rgb(152, 169, 44);
/* oklch */ color: oklch(69.9% 0.145 117.2);
Tailwind
colors: {
  custom: {
    50: '#bac26f',
    500: '#98a92c',
    950: '#000000',
  },
}
SCSS
$custom: #98a92c;
$custom-light: #bac26f;
$custom-dark: #000000;
JSON
{
  "hex": "#98a92c",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 68.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69874,
    "c": 0.1454,
    "h": 117.2
  },
  "luminance": 0.35233
}

Semantic roles & 50–950 ramp

primary
#98A92C
secondary
#7A6EC3
accent
#46E25B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A92C

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

Preview Lab → · Contrast checker → · Palette generator →

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