#98A235#98A235

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

Color values

HEX#98A235
RGBrgb(152, 162, 53)
HSLhsl(66, 51%, 42%)
HSVhsv(66, 67%, 64%)
CMYKcmyk(6.2%, 0%, 67.3%, 36.5%)
CIE-LABlab(63.98, -18.04, 53.10)
CIE-LCHlch(63.98, 56.08, 108.76°)
OKLaboklab(68.33% -0.0543 0.1196)
OKLCHoklch(68.33% 0.131 114.4)
XYZxyz(26.5125, 32.7736, 8.2968)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A235 #3F35A2
analogous
#A27635 #98A235 #61A235
triadic
#98A235 #3598A2 #A23598
tetradic
#98A235 #35A276 #3F35A2 #A23561
square
#98A235 #35A276 #3F35A2 #A23561
split-complementary
#98A235 #3561A2 #7635A2
monochromatic
#414617 #6D7426 #98A235 #BAC54F #CCD47D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A235#FFFFFF#000000##000000
##98A2351.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)
#AE9A25
Deuteranopia (green-blind)
#AD9C3D
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a235;
/* rgb */ color: rgb(152, 162, 53);
/* oklch */ color: oklch(68.3% 0.131 114.4);
Tailwind
colors: {
  custom: {
    50: '#b9bd72',
    500: '#98a235',
    950: '#000000',
  },
}
SCSS
$custom: #98a235;
$custom-light: #b9bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#98a235",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 65.505,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68326,
    "c": 0.13136,
    "h": 114.4
  },
  "luminance": 0.32773
}

Semantic roles & 50–950 ramp

primary
#98A235
secondary
#7C75BD
accent
#4EDA5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A235

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

Preview Lab → · Contrast checker → · Palette generator →

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