#98A93B#98A93B

#98A93B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.135 H 117.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#98A93B
RGBrgb(152, 169, 59)
HSLhsl(69, 48%, 45%)
HSVhsv(69, 65%, 66%)
CMYKcmyk(10.1%, 0%, 65.1%, 33.7%)
CIE-LABlab(66.03, -21.19, 52.76)
CIE-LCHlch(66.03, 56.85, 111.88°)
OKLaboklab(69.99% -0.0625 0.1198)
OKLCHoklch(69.99% 0.135 117.5)
XYZxyz(27.9268, 35.3674, 9.4922)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A93B #4C3BA9
analogous
#A9833B #98A93B #61A93B
triadic
#98A93B #3B98A9 #A93B98
tetradic
#98A93B #3BA983 #4C3BA9 #A93B61
square
#98A93B #3BA983 #4C3BA9 #A93B61
split-complementary
#98A93B #3B61A9 #833BA9
monochromatic
#464E1B #6F7C2B #98A93B #B5C65B #CAD689

Accessibility & contrast

On white

2.60
#98A93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#98A93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A93B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A93B#FFFFFF#000000##000000
##98A93B1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02C
Deuteranopia (green-blind)
#B2A143
Tritanopia (blue-blind)
#A1A092
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a93b;
/* rgb */ color: rgb(152, 169, 59);
/* oklch */ color: oklch(70.0% 0.135 117.5);
Tailwind
colors: {
  custom: {
    50: '#b9c277',
    500: '#98a93b',
    950: '#000000',
  },
}
SCSS
$custom: #98a93b;
$custom-light: #b9c277;
$custom-dark: #000000;
JSON
{
  "hex": "#98a93b",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 69.273,
    "s": 48.246,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6999,
    "c": 0.13512,
    "h": 117.5
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

primary
#98A93B
secondary
#8A80C0
accent
#50D865
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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