#98A239#98A239

#98A239 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.128 H 114.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#98A239
RGBrgb(152, 162, 57)
HSLhsl(66, 48%, 43%)
HSVhsv(66, 65%, 64%)
CMYKcmyk(6.2%, 0%, 64.8%, 36.5%)
CIE-LABlab(64.01, -17.78, 51.47)
CIE-LCHlch(64.01, 54.45, 109.05°)
OKLaboklab(68.36% -0.0531 0.1168)
OKLCHoklch(68.36% 0.128 114.5)
XYZxyz(26.6084, 32.8119, 8.8017)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A239 #4339A2
analogous
#A27739 #98A239 #64A239
triadic
#98A239 #3998A2 #A23998
tetradic
#98A239 #39A277 #4339A2 #A23964
square
#98A239 #39A277 #4339A2 #A23964
split-complementary
#98A239 #3964A2 #7739A2
monochromatic
#434719 #6E7529 #98A239 #B9C355 #CBD382

Accessibility & contrast

On white

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

On black

7.56
#98A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A239
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A239#FFFFFF#000000##000000
##98A2391.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a239;
/* rgb */ color: rgb(152, 162, 57);
/* oklch */ color: oklch(68.4% 0.128 114.5);
Tailwind
colors: {
  custom: {
    50: '#b9bd75',
    500: '#98a239',
    950: '#000000',
  },
}
SCSS
$custom: #98a239;
$custom-light: #b9bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#98a239",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 65.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6836,
    "c": 0.12832,
    "h": 114.5
  },
  "luminance": 0.32811
}

Semantic roles & 50–950 ramp

primary
#98A239
secondary
#807ABD
accent
#50D85D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98A239

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

Preview Lab → · Contrast checker → · Palette generator →

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