#98A61C#98A61C

#98A61C is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.150 H 115.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#98A61C
RGBrgb(152, 166, 28)
HSLhsl(66, 71%, 38%)
HSVhsv(66, 83%, 65%)
CMYKcmyk(8.4%, 0%, 83.1%, 34.9%)
CIE-LABlab(64.99, -21.23, 62.46)
CIE-LCHlch(64.99, 65.97, 108.78°)
OKLaboklab(69.09% -0.0653 0.1351)
OKLCHoklch(69.09% 0.15 115.8)
XYZxyz(26.7955, 34.0321, 6.2557)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A61C #2A1CA6
analogous
#A66F1C #98A61C #53A61C
triadic
#98A61C #1C98A6 #A61C98
tetradic
#98A61C #1CA66F #2A1CA6 #A61C53
square
#98A61C #1CA66F #2A1CA6 #A61C53
split-complementary
#98A61C #1C53A6 #6F1CA6
monochromatic
#383D0A #687213 #98A61C #C8DA25 #D5E359

Accessibility & contrast

On white

2.69
#98A61C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#98A61C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A61C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A61C#FFFFFF#000000##000000
##98A61C1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19F2B
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a61c;
/* rgb */ color: rgb(152, 166, 28);
/* oklch */ color: oklch(69.1% 0.150 115.8);
Tailwind
colors: {
  custom: {
    50: '#bac067',
    500: '#98a61c',
    950: '#000000',
  },
}
SCSS
$custom: #98a61c;
$custom-light: #bac067;
$custom-dark: #000000;
JSON
{
  "hex": "#98a61c",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 66.087,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.15005,
    "h": 115.8
  },
  "luminance": 0.34032
}

Semantic roles & 50–950 ramp

primary
#98A61C
secondary
#6257C7
accent
#3AEE4C
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A61C

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

Preview Lab → · Contrast checker → · Palette generator →

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