#98A92B#98A92B

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

Color values

HEX#98A92B
RGBrgb(152, 169, 43)
HSLhsl(68, 59%, 42%)
HSVhsv(68, 75%, 66%)
CMYKcmyk(10.1%, 0%, 74.6%, 33.7%)
CIE-LABlab(65.92, -22.13, 58.79)
CIE-LCHlch(65.92, 62.81, 110.63°)
OKLaboklab(69.87% -0.0666 0.1299)
OKLCHoklch(69.87% 0.146 117.1)
XYZxyz(27.5736, 35.2261, 7.6318)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A92B #3C2BA9
analogous
#A97B2B #98A92B #59A92B
triadic
#98A92B #2B98A9 #A92B98
tetradic
#98A92B #2BA97B #3C2BA9 #A92B59
square
#98A92B #2BA97B #3C2BA9 #A92B59
split-complementary
#98A92B #2B59A9 #7B2BA9
monochromatic
#404712 #6C781F #98A92B #BCCF42 #CDDB73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A92B#FFFFFF#000000##000000
##98A92B1.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)
#B5A010
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#A29F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a92b;
/* rgb */ color: rgb(152, 169, 43);
/* oklch */ color: oklch(69.9% 0.146 117.1);
Tailwind
colors: {
  custom: {
    50: '#bac26e',
    500: '#98a92b',
    950: '#000000',
  },
}
SCSS
$custom: #98a92b;
$custom-light: #bac26e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a92b",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 68.095,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69867,
    "c": 0.14599,
    "h": 117.1
  },
  "luminance": 0.35226
}

Semantic roles & 50–950 ramp

primary
#98A92B
secondary
#796DC3
accent
#45E35A
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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