#98A233#98A233

#98A233 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.3% C 0.133 H 114.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#98A233
RGBrgb(152, 162, 51)
HSLhsl(65, 52%, 42%)
HSVhsv(65, 69%, 64%)
CMYKcmyk(6.2%, 0%, 68.5%, 36.5%)
CIE-LABlab(63.96, -18.16, 53.89)
CIE-LCHlch(63.96, 56.87, 108.62°)
OKLaboklab(68.31% -0.0548 0.121)
OKLCHoklch(68.31% 0.133 114.4)
XYZxyz(26.4675, 32.7556, 8.0595)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A233 #3D33A2
analogous
#A27533 #98A233 #61A233
triadic
#98A233 #3398A2 #A23398
tetradic
#98A233 #33A275 #3D33A2 #A23361
square
#98A233 #33A275 #3D33A2 #A23361
split-complementary
#98A233 #3361A2 #7533A2
monochromatic
#414516 #6C7324 #98A233 #BBC74C #CDD57A

Accessibility & contrast

On white

2.78
#98A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#98A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A233
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A233#FFFFFF#000000##000000
##98A2331.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A22
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a233;
/* rgb */ color: rgb(152, 162, 51);
/* oklch */ color: oklch(68.3% 0.133 114.4);
Tailwind
colors: {
  custom: {
    50: '#b9bd71',
    500: '#98a233',
    950: '#000000',
  },
}
SCSS
$custom: #98a233;
$custom-light: #b9bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#98a233",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 65.405,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68309,
    "c": 0.1328,
    "h": 114.4
  },
  "luminance": 0.32755
}

Semantic roles & 50–950 ramp

primary
#98A233
secondary
#7A73BE
accent
#4CDC59
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A233

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

Preview Lab → · Contrast checker → · Palette generator →

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