#98A237#98A237

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

Color values

HEX#98A237
RGBrgb(152, 162, 55)
HSLhsl(66, 49%, 43%)
HSVhsv(66, 66%, 64%)
CMYKcmyk(6.2%, 0%, 66%, 36.5%)
CIE-LABlab(63.99, -17.91, 52.29)
CIE-LCHlch(63.99, 55.27, 108.90°)
OKLaboklab(68.34% -0.0537 0.1182)
OKLCHoklch(68.34% 0.13 114.4)
XYZxyz(26.5595, 32.7924, 8.5441)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A237 #4137A2
analogous
#A27637 #98A237 #63A237
triadic
#98A237 #3798A2 #A23798
tetradic
#98A237 #37A276 #4137A2 #A23763
square
#98A237 #37A276 #4137A2 #A23763
split-complementary
#98A237 #3763A2 #7637A2
monochromatic
#424718 #6D7427 #98A237 #BAC452 #CCD480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A237#FFFFFF#000000##000000
##98A2371.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)
#AD9A28
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a237;
/* rgb */ color: rgb(152, 162, 55);
/* oklch */ color: oklch(68.3% 0.130 114.4);
Tailwind
colors: {
  custom: {
    50: '#b9bd74',
    500: '#98a237',
    950: '#000000',
  },
}
SCSS
$custom: #98a237;
$custom-light: #b9bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#98a237",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 65.607,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68343,
    "c": 0.12986,
    "h": 114.4
  },
  "luminance": 0.32792
}

Semantic roles & 50–950 ramp

primary
#98A237
secondary
#7E78BD
accent
#4FD95C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A237

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

Preview Lab → · Contrast checker → · Palette generator →

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