#98A326#98A326

#98A326 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.4% C 0.142 H 114.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#98A326
RGBrgb(152, 163, 38)
HSLhsl(65, 62%, 39%)
HSVhsv(65, 77%, 64%)
CMYKcmyk(6.7%, 0%, 76.7%, 36.1%)
CIE-LABlab(64.17, -19.34, 58.82)
CIE-LCHlch(64.17, 61.91, 108.20°)
OKLaboklab(68.45% -0.0593 0.1291)
OKLCHoklch(68.45% 0.142 114.7)
XYZxyz(26.3967, 33.0102, 6.8144)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A326 #3126A3
analogous
#A37026 #98A326 #5AA326
triadic
#98A326 #2698A3 #A32698
tetradic
#98A326 #26A370 #3126A3 #A3265A
square
#98A326 #26A370 #3126A3 #A3265A
split-complementary
#98A326 #265AA3 #7026A3
monochromatic
#3B400F #6A711A #98A326 #C3D036 #D2DC68

Accessibility & contrast

On white

2.76
#98A326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#98A326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A326
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A326#FFFFFF#000000##000000
##98A3261.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a326;
/* rgb */ color: rgb(152, 163, 38);
/* oklch */ color: oklch(68.4% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#babe6b',
    500: '#98a326',
    950: '#000000',
  },
}
SCSS
$custom: #98a326;
$custom-light: #babe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a326",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 65.28,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68449,
    "c": 0.14206,
    "h": 114.7
  },
  "luminance": 0.3301
}

Semantic roles & 50–950 ramp

primary
#98A326
secondary
#6B63C2
accent
#43E551
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A326

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

Preview Lab → · Contrast checker → · Palette generator →

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