#98A330#98A330

#98A330 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.136 H 114.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#98A330
RGBrgb(152, 163, 48)
HSLhsl(66, 55%, 41%)
HSVhsv(66, 71%, 64%)
CMYKcmyk(6.7%, 0%, 70.6%, 36.1%)
CIE-LABlab(64.23, -18.84, 55.33)
CIE-LCHlch(64.23, 58.45, 108.81°)
OKLaboklab(68.52% -0.057 0.1235)
OKLCHoklch(68.52% 0.136 114.8)
XYZxyz(26.5803, 33.0837, 7.7813)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A330 #3B30A3
analogous
#A37530 #98A330 #5FA330
triadic
#98A330 #3098A3 #A33098
tetradic
#98A330 #30A375 #3B30A3 #A3305F
square
#98A330 #30A375 #3B30A3 #A3305F
split-complementary
#98A330 #305FA3 #7530A3
monochromatic
#404414 #6C7422 #98A330 #BDC947 #CED777

Accessibility & contrast

On white

2.76
#98A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#98A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A330
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A330#FFFFFF#000000##000000
##98A3301.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a330;
/* rgb */ color: rgb(152, 163, 48);
/* oklch */ color: oklch(68.5% 0.136 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be70',
    500: '#98a330',
    950: '#000000',
  },
}
SCSS
$custom: #98a330;
$custom-light: #b9be70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a330",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 65.739,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.13601,
    "h": 114.8
  },
  "luminance": 0.33083
}

Semantic roles & 50–950 ramp

primary
#98A330
secondary
#7770BF
accent
#4ADE58
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A330

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

Preview Lab → · Contrast checker → · Palette generator →

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