#98A335#98A335

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

Color values

HEX#98A335
RGBrgb(152, 163, 53)
HSLhsl(66, 51%, 42%)
HSVhsv(66, 67%, 64%)
CMYKcmyk(6.7%, 0%, 67.5%, 36.1%)
CIE-LABlab(64.26, -18.55, 53.40)
CIE-LCHlch(64.26, 56.52, 109.15°)
OKLaboklab(68.55% -0.0557 0.1203)
OKLCHoklch(68.55% 0.133 114.8)
XYZxyz(26.6894, 33.1273, 8.3557)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A335 #4035A3
analogous
#A37735 #98A335 #61A335
triadic
#98A335 #3598A3 #A33598
tetradic
#98A335 #35A377 #4035A3 #A33561
square
#98A335 #35A377 #4035A3 #A33561
split-complementary
#98A335 #3561A3 #7735A3
monochromatic
#424717 #6D7526 #98A335 #BAC64F #CCD57E

Accessibility & contrast

On white

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

On black

7.63
#98A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A335
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A335#FFFFFF#000000##000000
##98A3351.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a335;
/* rgb */ color: rgb(152, 163, 53);
/* oklch */ color: oklch(68.6% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be73',
    500: '#98a335',
    950: '#000000',
  },
}
SCSS
$custom: #98a335;
$custom-light: #b9be73;
$custom-dark: #000000;
JSON
{
  "hex": "#98a335",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 66,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68555,
    "c": 0.13252,
    "h": 114.8
  },
  "luminance": 0.33127
}

Semantic roles & 50–950 ramp

primary
#98A335
secondary
#7D76BE
accent
#4DDA5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A335

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

Preview Lab → · Contrast checker → · Palette generator →

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