#98A538#98A538

#98A538 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.133 H 115.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#98A538
RGBrgb(152, 165, 56)
HSLhsl(67, 49%, 43%)
HSVhsv(67, 66%, 65%)
CMYKcmyk(7.9%, 0%, 66.1%, 35.3%)
CIE-LABlab(64.86, -19.37, 52.78)
CIE-LCHlch(64.86, 56.22, 110.16°)
OKLaboklab(69.04% -0.0577 0.1194)
OKLCHoklch(69.04% 0.133 115.8)
XYZxyz(27.1185, 33.8716, 8.8499)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A538 #4538A5
analogous
#A57B38 #98A538 #61A538
triadic
#98A538 #3898A5 #A53898
tetradic
#98A538 #38A57B #4538A5 #A53861
square
#98A538 #38A57B #4538A5 #A53861
split-complementary
#98A538 #3861A5 #7B38A5
monochromatic
#444A19 #6E7728 #98A538 #B8C555 #CBD583

Accessibility & contrast

On white

2.70
#98A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#98A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A538
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A538#FFFFFF#000000##000000
##98A5381.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#A19C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a538;
/* rgb */ color: rgb(152, 165, 56);
/* oklch */ color: oklch(69.0% 0.133 115.8);
Tailwind
colors: {
  custom: {
    50: '#b9bf74',
    500: '#98a538',
    950: '#000000',
  },
}
SCSS
$custom: #98a538;
$custom-light: #b9bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#98a538",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 67.156,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.13262,
    "h": 115.8
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#98A538
secondary
#827ABE
accent
#4FD95F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98A538

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

Preview Lab → · Contrast checker → · Palette generator →

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