#98A334#98A334

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

Color values

HEX#98A334
RGBrgb(152, 163, 52)
HSLhsl(66, 52%, 42%)
HSVhsv(66, 68%, 64%)
CMYKcmyk(6.7%, 0%, 68.1%, 36.1%)
CIE-LABlab(64.26, -18.61, 53.79)
CIE-LCHlch(64.26, 56.92, 109.08°)
OKLaboklab(68.55% -0.056 0.1209)
OKLCHoklch(68.55% 0.133 114.8)
XYZxyz(26.6666, 33.1182, 8.2358)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A334 #3F34A3
analogous
#A37734 #98A334 #61A334
triadic
#98A334 #3498A3 #A33498
tetradic
#98A334 #34A377 #3F34A3 #A33461
square
#98A334 #34A377 #3F34A3 #A33461
split-complementary
#98A334 #3461A3 #7734A3
monochromatic
#414616 #6D7525 #98A334 #BAC64E #CCD57C

Accessibility & contrast

On white

2.75
#98A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A334#FFFFFF#000000##000000
##98A3341.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B24
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a334;
/* rgb */ color: rgb(152, 163, 52);
/* oklch */ color: oklch(68.5% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be72',
    500: '#98a334',
    950: '#000000',
  },
}
SCSS
$custom: #98a334;
$custom-light: #b9be72;
$custom-dark: #000000;
JSON
{
  "hex": "#98a334",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 65.946,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.13324,
    "h": 114.8
  },
  "luminance": 0.33118
}

Semantic roles & 50–950 ramp

primary
#98A334
secondary
#7C75BE
accent
#4DDB5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A334

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

Preview Lab → · Contrast checker → · Palette generator →

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